cnp 0.5.1

A utility tool written in Rust to check unused node packages.
cnp-0.5.1 is not a library.

🛠️ 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. This project is Work in Progress (WIP) 🚧, so feel free to contribute! Please note, that the current version (0.2.0) is not stable and don't work as expected yet.

✨ 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.