clean-node-projects

1.0.5 • Public • Published

clean-node-projects

CLI package to find and delete unused folders such as node_modules, dist.

clean-node-projects_demo

Requirement

  • Node.js v12 or above

Usage

Install temporarily and run

npx clean-node-projects

or install globally and run

npm i -g clean-node-projects
clean-node-projects

Help

Usage: clean-node-projects [path] [options]

Options:
      --version  Show version number                                           [boolean]
  -t, --target   Folder names to find         [array] [default: ["node_modules","dist"]]
  -q, --quick    Do not calculate size                                         [boolean]
      --help     Show help                                                     [boolean]

Examples:
  clean-node-projects                          Find node_modules, dist folders under the
                                              current path and remove selected ones.
  clean-node-projects ~/Desktop --target       Find node_modules and build folders under
  node_modules build                           the Desktop and remove selected ones.

License

"clean-node-projects" is under MIT license.

Readme

Keywords

Package Sidebar

Install

npm i clean-node-projects

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

18.9 kB

Total Files

5

Last publish

Collaborators

  • k-kind