0.0.2 • Published 6 years ago

rm-nm v0.0.2

Weekly downloads
2
License
WTFPL
Repository
github
Last release
6 years ago

rm-nm

circleci JavaScript Style Guide

Remove any node_modules folder in the given directory. Or globally if you wish.

usage

npm i -g rm-nm
rm-nm [target-folder] [args]

example

rm-nm ./code/

args

-s // only node_modules with package.json siblings
-ss // only node_modules with package.json && package-lock.json siblings

why?

Because find . -name "node_modules" -exec rm -rf '{}' + in the shell is too easy. And of course because: node modules are heavier then neutron stars