1.1.0 • Published 3 years ago

@ns0m/rm-modules v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Fork of the hughsk/rm-modules package with some fixes. Latest Published Version

npm install -g @ns0m/rm-modules

rm-modules

npm.io npm.io npm.io npm.io

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.