check-npm-dependents

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i check-npm-dependents

Weekly Downloads

12

Version

1.1.0

License

MIT

Unpacked Size

3.71 kB

Total Files

8

Last publish

Collaborators

  • astur