0.0.2 • Published 8 years ago
rm-nm v0.0.2
rm-nm
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 siblingswhy?
Because find . -name "node_modules" -exec rm -rf '{}' + in the shell is too easy.
And of course because:
