Offline collection of the dependents and devDependents of every package in the npm registry.
⚠️ HEY ⚠️
This package weighs in at around 450MB! It's kind of big and takes a while to install, as it unpacks over 100,000 small JSON files. For a lightweight alternative that just contains counts and not the actual dependent package names, try the dependent-counts module. It's only 7MB.
:v:
npm install npm-dependency-stats --save
const {directDependents, directDevDependents} = require('dependent-packages')
directDependents('express')
// all package names that have express listed in `dependencies`
directDevDependents('cheerio')
// all package names that have cheerio listed in `devDependencies`
npm install
npm test
_.uniq exported as a module.mkdir -prm -rf)MIT
Generated by package-json-to-readme