npm-why
shows why a package is installed
TLDR
Explain why package installed
$ npm why [package-name]
JSON output$ npm why [package-name] --json
SYNOPSIS
npm why [package]
DESCRIPTION
npm why shows why a package is installed. Alias for npm explain.
The command traces dependency paths. Shows all routes to package.
PARAMETERS
PACKAGE
Package to explain.--json
JSON output.--help
Display help information.
CAVEATS
Alias for npm explain. Shows all dependency paths. Requires installed package.
HISTORY
npm why provides dependency tracing to understand package relationships.
SEE ALSO
npm(1), npm-explain(1), npm-ls(1)
