JS devs know that NPM fails a lot and usually the solution is to delete node_modules, delete the lockfile, and then reinstall. Sadly
node_modules is so big it can take minutes to delete.
rm-node solves this problem by using the delete crate powered by tokio to delete files and folders 2-3x faster!
fix the whole node_modules thing and make lockfiles work like they do in Rust
- async
- cross-platform
- fast
You must have Rust and Cargo installed. Install it from crates.io
cargo install rm-node
To delete node_modules and any other lockfiles:
rm-node --lockfiles
To only delete node_modules:
rm-node
Report issues using the issue tracker
Make sure Rust and Cargo are installed.
Run gen.cmd or gen.sh depending on your OS.
Run cargo run with the options specified in the Usage section.
Submit PRs on GitHub!
All contributions to this repo will be licensed under the MIT license.