Skip to content

nice-registry/dependent-packages

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Packages

No packages published