docs/cli/why.md
Shows all packages that depend on the specified package.
The output is a reverse dependency tree: the searched package appears at the root, with its dependents as branches, walking back to workspace roots.
Duplicate subtrees are deduplicated in the output and shown as "deduped".
Show the dependency tree for the specified package on every package in subdirectories or on every workspace package when executed inside a workspace.
Show information in JSON format.
Show verbose output.
Show parseable output instead of tree view.
List packages in the global install directory instead of in the current project.
Only display the dependency tree for packages in dependencies.
Only display the dependency tree for packages in devDependencies.
Display only dependencies within a specific depth.
Display only dependencies that are also projects within the workspace.
Exclude peer dependencies from the results (but dependencies of peer dependencies are not ignored).
import FindBy from '../settings/_findBy.mdx'
<FindBy />