moppet
Description
A command-line interface (CLI) tool to delete node_modules in deep directories.
Installation
$ npm i -g moppet
$ yarn global add moppet
Usage
$ mop -d ~/workspace
Looking for node_modules directories in /Users/fdorantesm/workspace
DELETED /Users/fdorantesm/workspace/moppet/node_modules
DELETED /Users/fdorantesm/workspace/envpack/node_modules
DELETED /Users/fdorantesm/workspace/asapp/node_modules
DELETED /Users/fdorantesm/workspace/gosp-sass/node_modules
DELETED /Users/fdorantesm/workspace/asynkstorage/node_modules
DELETED /Users/fdorantesm/workspace/express-asapp/node_modules
DELETED /Users/fdorantesm/workspace/wordle-api/node_modules
DELETED /Users/fdorantesm/workspace/dna/node_modules
FINISHED 1.2GB removed
Contributing
Contributions, issues, and feature requests are welcome. Feel free to check the issues page if you want to contribute.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Buy me a coffee
If you find this tool useful and want to support its development, you can buy me a coffee via PayPal.
Your contributions will help me continue to improve this tool and develop new features. Thank you for your support!