Giter Site home page Giter Site logo

mmp's Introduction

这是一个切换镜像源的库

          _____                    _____                    _____          
         /                      /                      /             
        /::____                /::____                /::            
       /::::|   |               /::::|   |               /::::           
      /:::::|   |              /:::::|   |              /::::::          
     /::::::|   |             /::::::|   |             /:::/:::         
    /:::/|::|   |            /:::/|::|   |            /:::/__:::        
   /:::/ |::|   |           /:::/ |::|   |           /::::   :::       
  /:::/  |::|___|______    /:::/  |::|___|______    /::::::   :::      
 /:::/   |::::::::      /:::/   |::::::::      /:::/:::   :::____ 
/:::/    |:::::::::____/:::/    |:::::::::____/:::/  :::   :::|    |
::/    / ~~~~~/:::/    /::/    / ~~~~~/:::/    /::/    :::  /:::|____|
 /____/      /:::/    /  /____/      /:::/    /  /_____/:::/:::/    / 
             /:::/    /               /:::/    /            ::::::/    /  
            /:::/    /               /:::/    /              ::::/    /   
           /:::/    /               /:::/    /                ::/____/    
          /:::/    /               /:::/    /                  ~~          
         /:::/    /               /:::/    /                               
        /:::/    /               /:::/    /                                
        ::/    /                ::/    /                                 
         /____/                  /____/                                 

安装建议加上-g

npm i xmzs -g

mmp ls 查看目前源
mmp use 切换源

选择你要切换的源

mmp current 查看当前源

当前源: npm

mmp add 添加源

1.输入添加的名称 2.输入源地址

mmp ping 测试源

? 请选择镜像 cnpm 响应时长: 1635ms

mmp delete 删除自定义源

add添加的源都可以删除

mmp rename 重命名

自定义添加的源都可以进行重新命名

mmp edit 编辑自定义镜像地址

用法 Usage

Usage: mmp [options] [command]

Options:

-V, --version output the version number

-h, --help display help for command

Commands: ls 查看镜像

use 请选择镜像

current 查看当前源

ping 测试镜像地址速度

add 自定义镜像

delete 删除自定义的源

rename 重命名

edit 编辑自定义镜像地址

help [command] display help for command

贡献者

xiaoman
Jomorx

mmp's People

Contributors

message163 avatar jomorx avatar

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.