0.1.0 • Published 7 years ago

npm-scout v0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

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