1.1.0 • Published 6 years ago

check-npm-dependents v1.1.0

Weekly downloads
20
License
MIT
Repository
github
Last release
6 years ago

check-npm-dependents

Checks how many dependents has npm package.

Build Status NPM version

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