Offline collection of the dependents and devDependents of every package in the npm registry.
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.
✌️
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
- decompress: Extracting archives made easy
- package-stream: An endless stream of clean package data from the npm registry.
- lodash.uniq: The lodash method
_.uniq
exported as a module. - mkdirp: Recursively mkdir, like
mkdir -p
- npm-run-all: A CLI tool to run multiple npm-scripts in parallel or sequential.
- package-stream: An endless stream of clean package data from the npm registry.
- path-exists: Check if a path exists
- require-dir: Helper to require() directories.
- rimraf: A deep deletion module for node (like
rm -rf
) - tap-spec: Formatted TAP output like Mocha's spec reporter
- tape: tap-producing test harness for node and browsers
MIT
Generated by package-json-to-readme