0.0.1 • Published 7 years ago

noww v0.0.1

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

noww

Wrapper for Now API.

Codeship Status for bukinoshita/noww GitHub release GitHub license

Install

$ npm install --save noww

Usage

const noww = require('noww')

noww.getDeployments(TOKEN).then(deployments => {
  console.log(deployments)
})

API

.getDeployments(token)

token

Type: string Required

Returns a promise with all deployments

.getDeployment(token, id)

token

Type: string Required

id

Type: string Required

Returns a promise with the deployment

.deleteDeployment(token, id)

token

Type: string Required

id

Type: string Required

Returns a promise with a success or error response

.getAliases(token)

token

Type: string Required

Returns a promise with all aliases

License

MIT © Bu Kinoshita