clearout-node-modules
v1.0.3
Published
Find and delete `node_modules` folders (recursively) in your directory.
Downloads
9
Readme
Clear out node_modules
Find and delete node_modules
folders (recursively) in your directory.
CLI
Run via npx
npx clearout-node-modules
Install
npm install --global clearout-node-modules
Usage
$ npx clearout-node-modules
"node_modules" is deleted! ✅
CLI also supports a particular path, not only your current directory, so you don't need to change the directory.
$ npx clearout-node-modules src
Options
-r
,--recursive
flag
When you want to also delete all nested node_modules
directory, you can run CLI with the --recursive
flag (or -r
).
$ npx clearout-node-modules -r