lazyprune-0.1.0 is not a library.
lazyprune
A TUI tool to find and delete heavy cache/dependency directories (node_modules, Pods, .gradle, target/, etc.) across your machine.
Scans from $HOME by default, shows results in real-time, and lets you interactively select what to delete with vim-style keybindings.

Install
Or build from source:
Usage
Keybindings
| Key | Action |
|---|---|
j/k ↑/↓ |
Navigate |
g/G |
Jump top/bottom |
Space |
Toggle selection |
v |
Invert selection |
Ctrl+a |
Select all |
d |
Delete selected |
/ |
Filter by path |
s |
Cycle sort (size, name, date, project) |
t |
Filter by type |
l/→/Enter |
Open details panel |
h/←/Esc |
Back to list |
y |
Copy path (in details) |
? |
Help |
q |
Quit |
Config
Default targets are built-in. Override with ~/.config/lazyprune/config.toml:
= "~"
= [".Trash", "Library"]
[[]]
= "node_modules"
= ["node_modules"]
= "package.json"
[[]]
= "Pods"
= ["Pods"]
= "Podfile"
Each target has:
dirs-- directory names to look forindicator(optional) -- a file that must exist in the parent to confirm it's a real target (avoids false positives, e.g. a randombuild/folder that isn't Gradle)
Default targets: node_modules, Pods, .gradle/build, .pnpm-store, .yarn/cache, .next, .nuxt, target (Rust), dist.
How it works
- Walks the filesystem using the ignore crate (from ripgrep)
- Computes directory sizes in parallel with rayon
- Skips hidden directories unless they match a target
- Never follows symlinks
- Deletion requires explicit confirmation
License
MIT