npm-scout
v0.1.0
Published
Merge useful informations from the package.json and the repository of a NPM package
Downloads
14
Maintainers
Readme
npm-scout
Merge useful informations from
package.json
and the relative repository of a specific NPM package.
Install
$ yarn add npm-scout
Usage
const npmScout = require('npm-scout');
npmScout('npm-scout', 'lasalefamine', 'GITHUB_ACCESS_TOKEN').then(json => {
console.log(json);
//=> {packageJson: {...}, repository: {...}}
});
API
npmScout(username, repository, [GITHUB_ACCESS_TOKEN])
The GITHUB_ACCESS_TOKEN
is not required but you will have a limited rate to call the API if the GITHUB_ACCESS_TOKEN
is not present.
Related
License
MIT © LasaleFamine