0.0.1 • Published 7 years ago
noww v0.0.1
noww
Wrapper for Now API.
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
0.0.1
7 years ago