Git Product home page Git Product logo

mo's Introduction

logo

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

Remove Option

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

demo

mo's People

Contributors

uttesh avatar uttesh-rivet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mo's Issues

Its not working on the linux

Describe the bug
Its not working on Linux machine

Desktop (please complete the following information):

  • OS: [Linux ]
  • Version [20]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.