1.0.0 • Published 7 years ago
dep-graph-count v1.0.0
Install
$ npm install --save dep-graph-countUsage
const depGraphCount = require('dep-graph-count');
depGraphCount('facebook', 'react').then(res => {
console.log(res);
// { repositories: '1,147,374', packages: '46,145' }
// or
console.log(res.repositories);
// 1,147,374
// or
console.log(res.packages);
// 46,145
});API
depGraphCount(username, repository)
depGraphCount(organization, repository)
typeof username/organization - string
tyepof repository
- string
Related
depg:Command line tool to find total dependents on a repository!
License
MIT - Copyright © Rishi Giri
1.0.0
7 years ago