chiaro can delete all node_modules folders in projects inside the directory it runs in
- No dependencies - less than 1 KB on disk
- Uses native Node.js API
- Deletes files only in the directory where it is running
# installing
npm i -g chiaro
# usage
npx chiaro # in your projects directory
Before cleaning
⊫ projects
⊫= my-project
⊫== node_modules
⊫== src
⊫== package.json
⊫== readme.md
⊫= new-project
⊫== node_modules
⊫== src
⊫== dist
⊫== package.json
⊫== vite.config.js
⊫== tsconfig.json
After cleaning
⊫ my-project
⊫= src
⊫= package.json
⊫= readme.md
⊫ new-project
⊫= src
⊫= dist
⊫= package.json
⊫= vite.config.js
⊫= tsconfig.json