GLEAN is a blazing-fast, concurrent CLI tool written in Go that recursively finds and deletes all node_modules folders (or any other bloated folders) in a given directory.
It’s perfect for developers who want to free up gigabytes of disk space from old, unused projects without hunting folders one by one.
- Recursively scans large directories
- Deletes folders using a parallel worker pool (goroutines)
- Cleans your system faster than traditional shell scripts
- Supports
--dry-runmode for safe previews - Customizable: set your own folder name, worker count
Requires Go 1.16+
go install github.com/Yashwanth1906/Glean/cmd/glean@latest- Dry Run Mode:
glean --path=dir_you_want_to_delete --target=directory_that_you_want_delete --dry-run=true- Deletion Mode:
glean --path=dir_you_want_to_delete --target=directory_that_you_want_delete --workers=no_of_workers_you_want_useThat's it you can use my tool easily...

