ZapDir scans your projects for node_modules, .next, dist, build, and other heavy junk folders โ then lets you nuke them from orbit with a gorgeous interactive terminal UI.
Async parallel scanner finds junk in seconds
Powered by @clack/prompts with spinners & colored outputs
node_modules, .next, dist, build, .cache, .turbo, and more
Dry-run mode + confirmation โ never delete by accident
Build artifacts accumulate fast. A single node_modules folder can be 200MB+. Add .next (1GB+), dist, .cache, and build folders, and you can reclaim gigabytes of disk space with a single command.
Unlike wipe-modules or npkill, ZapDir handles 13 different patterns out of the box, has a beautiful interactive TUI with color-coded size bars, and is safe with dry-run mode.