cnp

Crates.iocnp
lib.rscnp
version1.0.2
created_at2025-01-23 10:06:30.11473+00
updated_at2025-04-16 21:44:45.720225+00
descriptionA utility tool written in Rust to check unused node packages.
homepage
repositoryhttps://github.com/trotelalexandre/cnp
max_upload_size
id1527682
size199,946
Alexandre Trotel (alexandretrotel)

documentation

README

🛠️ Check Node Packages (cnp)

A utility tool written in Rust to check for unused node packages in your project. It helps you identify and clean up dependencies that are no longer needed.

✨ Features

  • Scans files for dependency usage.
  • Supports .cnpignore for excluding dependencies.
  • Interactive mode for reviewing deletions.
  • Clear, tabular output with progress feedback.

📚 Usage

cnp           # Scan and report unused dependencies
cnp --dry-run # Preview without changes
cnp --clean   # Interactively remove unused dependencies

Configuration

  • .cnpignore: List dependencies to exclude (one per line, # for comments).
react-dom
eslint

🧑‍💻 Contributing

Feel free to open issues or pull requests to help improve the tool! Contributions are always welcome 🌟.

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 0

cargo fmt