1.0.6 • Published 7 years ago
sugo-agent-zip v1.0.6
sugo-agent-zip
Client for sugo-endpoint-zip
Installation
$ npm install sugo-agent-zip --save
Usage
'use strict'
const sugoAgentZip = require('sugo-agent-zip')
const co = require('co')
co(function * () {
let agent = sugoAgentZip('/foo/bar')
// Check if server available
{
let ok = yield agent.knock() // Send HTTP HEAD request.
/* ... */
}
}).catch((err) => console.error(err))
License
This software is released under the Apache-2.0 License.
Links
1.0.6
7 years ago