Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uttesh/mo
mo.js is cli application to remove the unused node_modules from the system
https://github.com/uttesh/mo
angular cleaning cleanup cli-app delete-files full-stack ionic mean-stack node-module nodejs phonegap react reactjs typescript utility-application web-application
Last synced: about 6 hours ago
JSON representation
mo.js is cli application to remove the unused node_modules from the system
- Host: GitHub
- URL: https://github.com/uttesh/mo
- Owner: uttesh
- License: mit
- Created: 2020-06-20T10:32:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-10T08:46:12.000Z (about 4 years ago)
- Last Synced: 2024-11-10T15:32:13.577Z (6 days ago)
- Topics: angular, cleaning, cleanup, cli-app, delete-files, full-stack, ionic, mean-stack, node-module, nodejs, phonegap, react, reactjs, typescript, utility-application, web-application
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/mo-clean
- Size: 26.2 MB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mo-clean
mo-clean is cli application to remove the unused node_modules from the system.
## What it does?
Helps Windows/Linux developers remove node_modules folder.
It identifies the unused node_modules of NodeJS application based on last used by days and provides the details
1. When the project was last used.
2. How much memory node_modules taken.
3. Remove those node_modules from system.## Supported OS
1. Windows.
2. Linux.
3. Mac.## How to use
Just install the library, don't clone this repository and run! (you can do that but not required)
## Installation
Please install the package with the flag '-g'.
```
npm install -g mo-clean
```## Execution
Run the below command from the command prompt/terminal
```
> mo
```that will prompt the user with the below options for the search or delete the node_modules
```
__ __ ___
| \/ | / _ \
| |\/| | | | | |
| | | | | |_| | _ _ _
|_| |_| \___/ (_) (_) (_)? Please select an option:
1) Search all the node_modules present in the path and show the total memory taken?
2) Search and delete all the node_modules present in the path?
Enter the option(1 or 2):
```after the option selected it will prompt the path for the search or delete
## Search Option
It will search for all the node_modules present under the provided path.
![demo](https://raw.githubusercontent.com/uttesh/mo/master/images/search_screen.png)
## Remove Option
It will search all the node_modules present under the provided path and delete them.
![demo](https://raw.githubusercontent.com/uttesh/mo/master/images/delete_screen.png)