1.0.8 • Published 7 years ago

swint-akamai-purge v1.0.8

Weekly downloads
66
License
MIT
Repository
github
Last release
7 years ago

swint-akamai-purge

Greenkeeper badge

Sending purge request on akamai for Swint batch task manager(swint-task)

Warning: This is not the final draft yet, so do not use this until its official version is launched

Installation

$ npm install --save swint-akamai-purge

Testing

You may save your secret credentials for the test at $HOME/.swint/swint-akamai-purge-test.json in the format below:

{
	"user": "myemail@example.com",
	"password": "mypassword",
	"prefix": "http://myAkamaiEdge.example.com.edgesuite.net"
}

Options

  • urlPrefix: String, default: 'http://www.example.com'
  • dir : String, default: path.join(path.dirname(require.main.filename), '../out')
  • walkOption : Object, default: {}
  • akInfo
    • user : String, default: 'user'
    • password : String, default: 'password'

Usage

swintAkamaiPurge({
	dir: path.join(__dirname, '../out'),
	urlPrefix: 'http://myAkamaiEdge.example.com.edgesuite.net',
	akInfo: {
		user: 'myemail@example.com',
		password: 'mypassword'
	}
}, function(err, res) {
	// afterwards...
});
1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.0

9 years ago