amio/npm-why

Identifies why a package has been installed. Equivalent to `yarn why` for npm packages.

JavaScript

182

168 commits

updated Sep 1, 2026

See the code

README

npm-why npm-version

Identifies why a package has been installed.

npm-why-screenshot

Install & Usage

npm install -g npm-why

Requires Node ^20.19.0 || >=22.12.0.

Usage

  $ npm-why <package-name>

Examples

  $ npm-why babel-core

or without installation:

$ npx npm-why babel-core
  • yarn-why - Identifies why a package has been installed (by yarn.lock).
  • nls - Missing inspector for npm packages.

License

ISC @ Amio

Contributors

amio

77 commits

dependabot[bot]

18 commits

amio/npm-why

Identifies why a package has been installed. Equivalent to `yarn why` for npm packages.

JavaScript

182

168 commits

updated Sep 1, 2026

See the code

README

npm-why npm-version

Identifies why a package has been installed.

npm-why-screenshot

Install & Usage

npm install -g npm-why

Requires Node ^20.19.0 || >=22.12.0.

Usage

  $ npm-why <package-name>

Examples

  $ npm-why babel-core

or without installation:

$ npx npm-why babel-core
  • yarn-why - Identifies why a package has been installed (by yarn.lock).
  • nls - Missing inspector for npm packages.

License

ISC @ Amio

Contributors

amio

77 commits

dependabot[bot]

18 commits

Languages

JavaScript

100.0%