Skip to content

igaaoo/Dev-Cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧹 Dev-Cleaner β€” Node/JS Project Folder Cleaner

Dev-Cleaner is a lightweight PowerShell-based tool designed to free up disk space by cleaning up common build and dependency folders in JavaScript/Node projects β€” such as node_modules, dist, .next, and more.

No setup required. Just run the script or use the bundled .exe.

πŸš€ Overview

Modern JavaScript projects generate large folder structures during development and builds. This tool helps you:

Reclaim disk space

Keep your projects tidy

Avoid clutter in old or unused folders

✨ Features

πŸ” Recursive folder search for:

node_modules

.next

dist

build

coverage

🧠 Smart filtering to avoid redundant deletions

⏳ Checks for recent modifications and asks for confirmation

🌐 Multilingual: supports English and Portuguese automatically

πŸ’» EXE version included for easy use

πŸ“Š Cleanup report:

Folders deleted

Space freed

Paths affected

πŸ§ͺ Usage

Option 1: Using PowerShell script Open PowerShell

Go to the folder where the script is saved

Run the script by typing its name (e.g., .\dev-cleaner.ps1)

Option 2: Using the EXE file Double-click dev-cleaner.exe

It will scan and guide you through the cleanup

βœ… No installation required!

πŸ“¦ Requirements (for script version)

Windows PowerShell 5.1 or newer

Permissions to delete folders in the scanned directories

πŸ“„ Example Output

Project cleanup started. Target folders: -> node_modules -> dist -> build -> .next -> coverage

Searching for folders to delete...

[DEL] C:\Projects\old-app\node_modules β€” 153.2 MB
[DEL] C:\Projects\archive\dist β€” 22.4 MB

Cleanup Summary Total time: 00:00:15 Folders deleted: 2 Freed space: 175.6 MB

πŸ› οΈ Customization

Language settings (auto-detected)

🀝 Contributing

Feel free to open issues, suggest improvements, or submit pull requests. Contributions are welcome!

πŸ‘€ Author Igor Neves πŸ”— https://github.com/igaaoo

πŸ“ƒ License This project is licensed under the MIT License.

About

🧹 Clean up large temporary files from inactive projects

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors