https://github.com/samarmohan/rm-node
delete node_modules quickly
https://github.com/samarmohan/rm-node
Last synced: 9 months ago
JSON representation
delete node_modules quickly
- Host: GitHub
- URL: https://github.com/samarmohan/rm-node
- Owner: samarmohan
- License: mit
- Created: 2022-02-03T14:36:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-23T20:25:06.000Z (over 4 years ago)
- Last Synced: 2025-09-21T22:44:18.107Z (9 months ago)
- Language: Rust
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 rm-node 🚀
###### disclaimer: this project is a joke
### About
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](https://github.com/XtremeDevX/delete) powered by [tokio](https://github.com/tokio-rs/tokio) to delete files and folders 2-3x faster!
### How the problem can actually be solved
fix the whole `node_modules` thing and make lockfiles work like they do in Rust
### Features
- async
- cross-platform
- fast
### Installation
You must have Rust and Cargo installed. Install it from [crates.io](https://crates.io/crates/rm-node)
`cargo install rm-node`
### Usage
To delete `node_modules` _and_ any other lockfiles:
**`rm-node --lockfiles`**
To only delete `node_modules`:
`rm-node`
### Bugs and Contributing
Report issues using the [issue tracker](https://github.com/samarmohan/rm-node/issues/new)
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!
### License
All contributions to this repo will be licensed under the [MIT](https://github.com/samarmohan/rm-node/blob/main/LICENSE) license.