🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

check-npm-dependents

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-npm-dependents

Checks how many dependents has npm package

1.1.0
latest
Version published
Weekly downloads
18
5.88%
Maintainers
1
Weekly downloads
 
Created

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

FAQs

Package last updated on 20 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts