junk-reaper
v1.0.5
Published
Find and destroy useless files clogging your project directories.
Maintainers
Readme
🗑️ Junk Reaper
Interactively hunts down and obliterates hidden
.DS_Storeand.logfiles across your project.
██╗██╗ ██╗███╗ ██╗██╗ ██╗
██║██║ ██║████╗ ██║██║ ██╔╝
██║██║ ██║██╔██╗ ██║█████╔╝
██║██║ ██║██║╚██╗██║██╔═██╗
██║╚██████╔╝██║ ╚████║██║ ██╗
╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝
██████╗ ███████╗ █████╗ ██████╗ ███████╗██████╗
██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔════╝██╔══██╗
██████╔╝█████╗ ███████║██████╔╝█████╗ ██████╔╝
██╔══██╗██╔══╝ ██╔══██║██╔═══╝ ██╔══╝ ██╔══██╗
██║ ██║███████╗██║ ██║██║ ███████╗██║ ██║
╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝Are you tired of macOS constantly polluting your pristine repositories with hidden .DS_Store files? Do you have megabytes of random debug.log files scattered across folders?
Junk Reaper is an interactive, highly-visual CLI that recursively sweeps your entire codebase (safely ignoring node_modules and .git), finds all the hidden garbage files, calculates how much space they are wasting, and lets you mass-delete them instantly.
✨ Features
- 🔍 Smart Scanning: Uses
fast-globto rip through massive directories in milliseconds without getting bogged down bynode_modules. - ⚡ Mass Deletion: Interactively select as many junk files as you want using the Spacebar, or press
ato select them all. - 🛡️ Secure: Requires a final confirmation before permanently obliterating the files using
fs.unlinkSync. - 🎨 Premium UX: Built with
inquirerfor a buttery-smooth terminal experience, complete with custom ASCII art.
🚀 Installation
Run it instantly anywhere without installing:
npx junk-reaperOr install it globally to keep your projects clean forever:
npm install -g junk-reaper🎮 Usage
Run the command inside any directory:
junk-reaperControls:
↑ / ↓: Navigate the list of discovered junk files.Space: Select files to delete.a: Select ALL files to do a full sweep.Enter: Proceed to obliteration.
Architected by @lakshanmuruganandam
Death to .DS_Store.
