npm-scout

0.1.0 • Public • Published

npm-scout Build Status

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

Package Sidebar

Install

npm i npm-scout

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • lasalefamine