Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

dependent-packages

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.

✌️

Installation

npm install npm-dependency-stats --save

Usage

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`

Tests

npm install
npm test

Dependencies

  • decompress: Extracting archives made easy
  • package-stream: An endless stream of clean package data from the npm registry.

Dev Dependencies

  • 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

License

MIT

Generated by package-json-to-readme

About

πŸ”— Direct dependents and devDependents of every package in the npm registry. Works offline.

Resources

You can’t perform that action at this time.