1.0.0 • Published 9 years ago
circleci-env v1.0.0
circleci-env 
Configure CircleCI with an environment variable
Install
$ npm install --save circleci-envUsage
var env = require('circleci-env')
env({
username: 'bendrucker',
project: 'circleci-aws',
circle_token: token,
name: 'FOO',
value: 'BAR'
})
.then(console.log)
// #=> {name: 'FOO', value: 'xxxxR'}API
env(data) -> promise
Set a new environment variable using the provided data.
data
Required
Type: object
An object that always must contain username, project, circle_token, plus name and value for the key and value to be added.
License
MIT © Ben Drucker
1.0.0
9 years ago