noww

Wrapper for Now API.

Usage no npm install needed!

<script type="module">
  import noww from 'https://cdn.skypack.dev/noww';
</script>

README

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