Skip to content

samarmohan/rm-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 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 powered by 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
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

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

About

delete node_modules quickly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published