@mga_/nmc
v1.0.4
Published
Remove all node-modules from your directory
Downloads
6
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_/nmcAfter 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 --listFor more information:
node-modules-cleaner --helpTo perform clean:
node-modules-cleanerTo list all subfolders that have node_modules:
node-modules-cleaner --listDeepTo remove subfolder that have node_modules:
node-modules-cleaner --deep