rm-nm

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i rm-nm

Weekly Downloads

1

Version

0.0.2

License

WTFPL

Unpacked Size

7.88 kB

Total Files

7

Last publish

Collaborators

  • mattanddev