depclean
v0.0.8
Published
A rust version depcheck to help you find and remove unused dependencies in your package.json
Downloads
3
Maintainers
Readme
A Rust version of depcheck. It supports analyze ESM and require statement in your JS family files currently.
["js", "mjs", "cjs", "jsx", "ts", "mts", "cts", "tsx"]
depcheck is a really awesome tool, you definitely should check it out first!
This project is developed out of personal interest and currently in the prototype stage.
I want to improve my Rust skill by investigating the feasibility of using oxc. If more people like it, I will continue to develop and enhance it, ideally to be a drop-in replacement for depcheck!
Quick Start
npx depclean
Installation
npm install depclean
pnpm install depclean
Usage
Usage: depclean [--path=ARG]
Available options:
--path=ARG The path to run this command, will use the current directory if absent.
-h, --help Prints help information
-V, --version Prints version information