Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

l-rm-modules

1.0.9 • Public • Published

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.

Install

npm i l-rm-modules

DownloadsWeekly Downloads

1

Version

1.0.9

License

MIT

Last publish

Collaborators

  • avatar