A Zero-Config CLI for space management

Reclaim your disk space, instantly.

A lightweight CLI for sweeping bloated build directories like node_modules, .next, and dist without searching through project subfolders.

Run directly via NPXZero install required
npx sweep-js sweep
Default targets
node_modules.nextdistbuild__pycache__and many more ...

Fast Recursive Sweep

Scans deep directory trees in a single pass to pinpoint heavy build folders instantly.

Custom Targets

Specify exact folder names to target so you never risk deleting important files.

Zero-Config Presets

Ships ready to clean Node, Next.js, Python, and build outputs out of the box.

Reclaimed Space Stats

Provides a clear summary showing deleted folder counts and total freed storage.

CLI Commands

Run commands directly or specify custom targets with flags.

Sweep Current Folder
sweep-js sweep
Target External Path
sweep-js sweep /path/to/project
Custom Target Filter
sweep-js sweep -t .next dist

Common Workflows

  • Free up disk space after testing heavy node dependencies
  • Wipe build cache artifacts before pushing or archiving repositories
  • Clean up Python compiled cache folders across local directories
  • Tidy up your workspace without manual efforts

Built Safe By Default

sweep-js only targets directories explicitly provided in flags or defaults. Built-in system protection blocks root paths and prevents accidental deletion of source files.

Tech Stack
Node.jsTypeScriptCommanderChalktsx