clearout-node-modules
v1.0.4
Published
Find and delete `node_modules` folders (recursively) in your directory.
Readme
Clear out node_modules
Find and delete node_modules folders (recursively) in your directory.
CLI
Run via npx
npx clearout-node-modulesInstall
npm install --global clearout-node-modulesUsage
$ 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 srcOptions
-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