1.1.0 • Published 6 years ago
check-npm-dependents v1.1.0
check-npm-dependents
Checks how many dependents has npm package.
Install
npm i check-npm-dependents
Usage
const check = require('check-npm-dependents');
check('lodash').then(console.log) // for ex. 68195
check('_ABC').then(console.log) // Error: Unable to determine dependents for package: "_ABC"
check('').then(console.log) // Error: Bad name : ""
License
MIT