Skip to content

LasaleFamine/npm-scout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Merge useful informations from the package.json and the repository of a NPM package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published