chiaro

1.0.1 • Public • Published

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

Installation & Usage

# installing
npm i -g chiaro
# usage
npx chiaro # in your projects directory

For example

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

Readme

Keywords

none

Package Sidebar

Install

npm i chiaro

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

1.62 kB

Total Files

3

Last publish

Collaborators

  • fb24m