@asdsadw12312dwd2112xz/dep-tree-cli
v1.0.0
Published
Beautiful dependency tree visualization for npm projects
Downloads
71
Maintainers
Readme
dep-tree-cli
Beautiful dependency tree visualization for npm projects.
Usage
npx dep-tree-cli # Show dependency tree
npx dep-tree-cli --depth 2 # Limit depth
npx dep-tree-cli --prod # Production deps only
npx dep-tree-cli --dev # Dev deps only
npx dep-tree-cli --duplicates # Show duplicate packages
npx dep-tree-cli --licenses # Show license info
npx dep-tree-cli --sizes # Show package sizes
npx dep-tree-cli --json # JSON output
npx dep-tree-cli --why lodash # Why is this package installed?Install
npm install -g dep-tree-cliFeatures
- Colorized tree with box-drawing characters
- Duplicate detection (highlighted in yellow)
- License summary grouped by license type
- Package size visualization with bar chart
- Dependency chain tracing (
--why) - JSON output for programmatic use
- Circular dependency detection
Tech Stack
TypeScript, tsup, commander, chalk. ESM only, Node 18+.
License
MIT
