4.0.5 • Published 4 years ago

mo-clean v4.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

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

Remove Option

It will search all the node_modules present under the provided path and delete them.

demo

4.0.5

4 years ago

4.0.4

4 years ago

4.0.3

4 years ago

4.0.1

4 years ago

4.0.0

4 years ago

4.0.2

4 years ago

3.0.0

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago