travis-got
Convenience wrapper for got to interact with the Travis API
Install
$ npm install --save travis-got
Usage
Instead of:
const got = ; ;
You can do:
const travisGot = ; ;
Or:
const travisGot = ; ;
API
Same as got (including the stream API and aliases), but with some additional options:
token
Type: string
Travis access token.
Can be overridden globally with the TRAVIS_TOKEN environment variable.
endpoint
Type: string
Default: https://api.travis-ci.org/
To support Travis Enterprise.
Can be overridden globally with the TRAVIS_ENDPOINT environment variable.
License
MIT © Sam Verschueren