modules_killer
v1.0.1
Published
A CLI tool to find and delete node_modules folders
Readme
📦 Installation
Use directly without installing:
npx npm-killer
# 🧹 npm-killer
> A blazing-fast CLI tool to find and delete heavy `node_modules` folders from your system — clean up disk space like a pro!
---
## 📦 Installation
You can use it without installing via:
```bash
npx npm-killer
Or install globally: npm install -g modules_killer⚙️ Usage Just run the tool in your terminal: npm-killer
It will:
1.Scan all subfolders for .node_modules folders
2.Show their sizes in a clean table
3.Let you select and delete them interactively
🖥 Example Output
🔍 Scanning for .node_modules folders...
┌────────┬───────────────┬────────────────────────────────────────────┐ │ Index │ Size (MB) │ Path │ ├────────┼───────────────┼────────────────────────────────────────────┤ │ 0 │ 150.23 │ /Users/you/project1/node_modules │ │ 1 │ 82.11 │ /Users/you/side-app/node_modules │ └────────┴───────────────┴────────────────────────────────────────────┘
✔ Select node_modules folders to delete: ✔ Are you sure? ✅ Deleted: /Users/you/side-app/node_modules
💡 Tip: Use it once a week — recover multiple GBs of space by deleting unused node_modules!
👨💻 Author Built with ❤️ by Aman Pal
License This project is licensed under the MIT License
