Skip to content

Recursively remove *all* node_modules directories within the chosen root directory

License

Notifications You must be signed in to change notification settings

hughsk/rm-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rm-modules

Recursively remove all node_modules directories within the chosen root directory.

Useful for cleaning a project which has more than one node_modules tree.

CLI Usage

NPM

npm install -g rm-modules
rm-modules

Module Usage

rm(root, done(err))

Recursively removes every node_modules directory within the root directory, calling done(err) when complete.

License

MIT. See LICENSE.md for details.

About

Recursively remove *all* node_modules directories within the chosen root directory

Resources

License

Stars

Watchers

Forks

Packages

No packages published