npm-scout
Merge useful informations from the package.json and the repository of a NPM package
Last updated 4 years ago by lasalefamine .
MIT · Original npm · Tarball · package.json
$ cnpm install npm-scout 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.0                                ...           latest (4 years ago)

1 Versions

  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |