Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🧹 GLEAN

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.


Why GLEAN?

  • Recursively scans large directories
  • Deletes folders using a parallel worker pool (goroutines)
  • Cleans your system faster than traditional shell scripts
  • Supports --dry-run mode for safe previews
  • Customizable: set your own folder name, worker count

Installation

Requires Go 1.16+

go install github.com/Yashwanth1906/Glean/cmd/glean@latest

🛠 Usage

  • Dry Run Mode:
glean --path=dir_you_want_to_delete --target=directory_that_you_want_delete --dry-run=true

Output: image

  • Deletion Mode:
glean --path=dir_you_want_to_delete --target=directory_that_you_want_delete --workers=no_of_workers_you_want_use

Output: image

That's it you can use my tool easily...

About

A node_module remover which let's developers to remove node_modules across folders within just a few seconds.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages