@mga_/nmc
v1.0.4
Published
Remove all node-modules from your directory
Downloads
5
Maintainers
Readme
Node Modules Cleaner
Recursively remove all node_module
inside a folder. Ideal for keeping just the source code of a folder of project, like WebstormProjects
folder.
Installing
npm install @mga_/nmc
After the intallation you will be able to run node-modules-cleaner --help
or the sort version nmc --help
.
How to Use
To list all folders that have node_modules
:
node-modules-cleaner --list
For more information:
node-modules-cleaner --help
To perform clean:
node-modules-cleaner
To list all subfolders that have node_modules
:
node-modules-cleaner --listDeep
To remove subfolder that have node_modules
:
node-modules-cleaner --deep