composeio-api
v0.4.2
Published
Compose.io REST API client
Downloads
2
Readme
compose.io
Compose.io REST API client.
Installation
npm install compose.io --save
Example
var compose = require('compose.io');
// create a db user
compose()
.accessToken('...')
.post()
.deployments()
.account('...')
.deployment('...')
.type('mongodb')
.database('...')
.users()
.send({username: '...'})
.send({password: '...'})
.end(function (err, res) {
// do something
})