Terminal UI to find and remove node_modules folders in a directory tree. It scans asynchronously, shows sizes and last modified times, and lets you trigger deletion from the list.
cargo install --path .- Up/Down: navigate
- Enter: confirm removal of the selected
node_modules(with a popup) - Esc/n: cancel popup
- q: quit
- Build and install once using the command above.
- From any folder you want to clean, run
node-cleaner. - The scan starts in the current working directory.
- Deletions run in a background thread so the UI stays responsive.
- A deleting item is marked with
(deleting...)while it is in progress. - Safety checks ensure only
node_modulesfolders under the chosen root are removed.