Packages count that a repository depends on!
$ npm install --save dep-graph-count
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
});
typeof
username/organization
- string
tyepof
repository
- string
depg
:
Command line tool to find total dependents on a repository!
MIT - Copyright © Rishi Giri