https://github.com/mohandeblaze/node-module-remover
Used to remove the node_modules folder and other regular folders using Node.js.
https://github.com/mohandeblaze/node-module-remover
delete delete-files delete-multiple delete-node-modules mass-delete node-module
Last synced: about 2 months ago
JSON representation
Used to remove the node_modules folder and other regular folders using Node.js.
- Host: GitHub
- URL: https://github.com/mohandeblaze/node-module-remover
- Owner: mohandeblaze
- License: mit
- Created: 2018-10-15T12:05:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T06:59:22.000Z (over 3 years ago)
- Last Synced: 2025-09-07T21:44:20.565Z (6 months ago)
- Topics: delete, delete-files, delete-multiple, delete-node-modules, mass-delete, node-module
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/node-modules-remover
- Size: 182 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node Modules Remover
Used to remove the node_modules folder and other regular folders using Node.js.
NPM: `npm i -g node-modules-remover`
Yarn: `yarn global add node-modules-remover`
## Glob Querying
* All the files will be fetched using Glob and queried in a batch of 15 files to avoid disk throttling.
## Usage
### CLI
* Open command prompt & navigate to the root of the project where node_modules exists.
* Type `$ nmr` and hit enter to remove node_modules only.
* Type `$ nmr --all` and hit enter to remove node_modules and all files current directory.
* Type `$ nmr --batch` and hit enter to go to **each folder** from current working directory and delete their node_modules and all files present in that directory.