Code Monkey home page Code Monkey logo

cnpm-registry-helper's Introduction

NPM 源切换脚本

这是一批用于帮助**大陆程序猿切换 npm/yarn 镜像的脚本,且支持 Electron 框架的换源。

注意

  1. 如果您要准备发布 npm 包,请记得将源还原回官方源,淘宝镜像无法处理库的上传。

  2. 如果您尚未安装 Yarn,请忽略警告信息。

推广项目

NRM 是一款以 Node 编写的 NPM 换源工具。说实话,它已经能满足大部分需求了,但它并没有提供完善的 Electron 框架的换源。该项目提供的脚本可视为其临时补充。

切换方法

(Windows NT)

git clone https://github.com/langyo/cnpm-registry-helper
to_taobao.bat

(*nix / Mac)

git clone https://github.com/langyo/cnpm-registry-helper
sh ./to_taobao.sh

还原方法

(Windows NT)

git clone https://github.com/langyo/cnpm-registry-helper
to_global.bat

(*nix / Mac)

git clone https://github.com/langyo/cnpm-registry-helper
sh ./to_global.sh

cnpm-registry-helper's People

Contributors

langyo 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.