Merge useful informations from
package.json
and the relative repository of a specific NPM package.
$ yarn add npm-scout
const npmScout = require('npm-scout');
npmScout('npm-scout', 'lasalefamine', 'GITHUB_ACCESS_TOKEN').then(json => {
console.log(json);
//=> {packageJson: {...}, repository: {...}}
});
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.
MIT © LasaleFamine