A command-line interface (CLI) tool to delete node_modules in deep directories.
$ npm i -g moppet
$ yarn global add moppet
$ 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
Contributions, issues, and feature requests are welcome. Feel free to check the issues page if you want to contribute.
This project is licensed under the MIT License - see the LICENSE file for details.
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!