| Crates.io | node-size-analyzer |
| lib.rs | node-size-analyzer |
| version | 0.7.1 |
| created_at | 2024-12-23 14:59:53.138267+00 |
| updated_at | 2025-05-07 03:53:35.318074+00 |
| description | CLI tool to analyze node_modules sizes |
| homepage | |
| repository | https://github.com/Caryyon/node-size-analyzer |
| max_upload_size | |
| id | 1493133 |
| size | 319,490 |
A fast CLI tool to analyze and visualize the size of your node_modules dependencies using a terminal UI.

The latest stable version is automatically published to crates.io:
cargo install node-size-analyzer
Pre-built binaries for all major platforms are automatically generated for each release and available from the releases page.
# Download the latest release for your platform
curl -L https://github.com/Caryyon/node-size-analyzer/releases/latest/download/node-size-linux -o node-size
# or for macOS:
# curl -L https://github.com/Caryyon/node-size-analyzer/releases/latest/download/node-size-macos -o node-size
chmod +x node-size
./node-size
# Download using PowerShell
Invoke-WebRequest -Uri https://github.com/Caryyon/node-size-analyzer/releases/latest/download/node-size-windows.exe -OutFile node-size.exe
.\node-size.exe
New releases are automatically published when changes are merged to the main branch.
node-sizeThe tool displays a table with:
git clone https://github.com/Caryyon/node-size-analyzer.git
cd node-size-analyzer
cargo build --release
The compiled binary will be available at target/release/node-size.
src/main.rs - Main application codeCargo.toml - Project dependencies and configurationThis project includes unit tests for core functionality. To run the tests:
cargo test
The test suite includes:
When adding new features, please ensure:
cargo test)cargo fmt)cargo clippy)This project uses Semantic Versioning and Conventional Commits.
git checkout -b feature/amazing-feature)cargo test)feat: add new feature (triggers minor version bump)fix: resolve bug issue (triggers patch version bump)docs: update documentation (triggers patch version bump)feat!: redesign API (triggers major version bump)git push origin feature/amazing-feature)See CONTRIBUTING.md for detailed guidelines on commit messages and the release process.
The tool:
node_modules directory recursivelyThis project is licensed under the MIT License - see the LICENSE file for details.