rm-node-m
v1.0.2
Published
A tiny CLI tool to **remove all `node_modules` folders** from the current directory and all subdirectories.
Maintainers
Readme
rm-node-m
A tiny CLI tool to remove all node_modules folders from the current directory and all subdirectories.
We've all been there and seen the memes about how heavy node_modules is
Installation
Run without installing (recommended)
npx rm-node-modulesOr install globally
npm install -g rm-node-modulesUsage
From the directory you want to clean:
rm-node-modulesThis will:
- Start from the current directory
- Recursively search all subdirectories
- Delete every
node_modulesfolder it finds
Warning
This command permanently deletes node_modules folders.
Make sure:
- You run it in the correct directory
- You can reinstall dependencies with
npm install - omar and omardevelopment is not responsible for any lost folders or files due to this package
