Fast Recursive Sweep
Scans deep directory trees in a single pass to pinpoint heavy build folders instantly.
A lightweight CLI for sweeping bloated build directories like node_modules, .next, and dist without searching through project subfolders.
npx sweep-js sweepScans deep directory trees in a single pass to pinpoint heavy build folders instantly.
Specify exact folder names to target so you never risk deleting important files.
Ships ready to clean Node, Next.js, Python, and build outputs out of the box.
Provides a clear summary showing deleted folder counts and total freed storage.
Run commands directly or specify custom targets with flags.
sweep-js sweepsweep-js sweep /path/to/projectsweep-js sweep -t .next distsweep-js only targets directories explicitly provided in flags or defaults. Built-in system protection blocks root paths and prevents accidental deletion of source files.