1.0.6 • Published 7 years ago

sugo-agent-zip v1.0.6

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
7 years ago

sugo-agent-zip

Build Status npm Version JS Standard

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