noww

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i noww

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • bukinoshita