All Projects → gucong3000 → Mirror Config China

gucong3000 / Mirror Config China

Licence: mit
Mirrors in China about node.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mirror Config China

Config Chain
Handle configuration once and for all
Stars: ✭ 98 (-70.57%)
Mutual labels:  config, npm
Zh Address Parse
全网识别准确度最高的中国大陆收货地址智能解析
Stars: ✭ 328 (-1.5%)
Mutual labels:  china
Alfred Npms
Alfred 3 workflow to search for npm packages with npms.io
Stars: ✭ 312 (-6.31%)
Mutual labels:  npm
Hoplite
A boilerplate-free library for loading configuration files as data classes in Kotlin
Stars: ✭ 322 (-3.3%)
Mutual labels:  config
.emacs.d
🎉 Personal GNU Emacs configuration
Stars: ✭ 313 (-6.01%)
Mutual labels:  config
Gfwlist
The one and only one gfwlist here
Stars: ✭ 19,033 (+5615.62%)
Mutual labels:  china
Webpack Cdn Plugin
A webpack plugin that use externals of CDN urls for production and local node_modules for development
Stars: ✭ 306 (-8.11%)
Mutual labels:  npm
Config
The Config component helps you find, load, combine, autofill and validate configuration values of any kind, whatever their source may be (YAML, XML, INI files, or for instance a database).
Stars: ✭ 3,671 (+1002.4%)
Mutual labels:  config
Dotbare
Manage dotfiles and any git directories interactively with fzf
Stars: ✭ 327 (-1.8%)
Mutual labels:  config
Release
Generate changelogs with a single command
Stars: ✭ 3,402 (+921.62%)
Mutual labels:  npm
Wasm Pack
This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build rust-generated WebAssembly packages that you could publish to the npm registry, or otherwise use alongside any javascript packages in workflows that you already use, such as webpack.
Stars: ✭ 3,848 (+1055.56%)
Mutual labels:  npm
Confused
Tool to check for dependency confusion vulnerabilities in multiple package management systems
Stars: ✭ 314 (-5.71%)
Mutual labels:  npm
Centurion
Centurion is a web-based framework for rapid prototyping and building larger web projects.
Stars: ✭ 327 (-1.8%)
Mutual labels:  npm
Saturday Night Works
Takip ettiğim kaynaklardaki örneklere ait çalışmalar yer alır.
Stars: ✭ 312 (-6.31%)
Mutual labels:  npm
Npm Gif
Replace NPM install's progress bar with a GIF!
Stars: ✭ 332 (-0.3%)
Mutual labels:  npm
Openapi Generator Cli
A node package wrapper for https://github.com/OpenAPITools/openapi-generator
Stars: ✭ 305 (-8.41%)
Mutual labels:  npm
Awps
A Modern WordPress Starter Theme for savvy Developers
Stars: ✭ 319 (-4.2%)
Mutual labels:  npm
Nacos
an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
Stars: ✭ 20,691 (+6113.51%)
Mutual labels:  config
Eslint Plugin Vue
Official ESLint plugin for Vue.js
Stars: ✭ 3,592 (+978.68%)
Mutual labels:  npm
Cnpmjs.org
Private npm registry and web for Enterprise
Stars: ✭ 3,536 (+961.86%)
Mutual labels:  npm

mirror-config-china

NPM version Travis AppVeyor codecov David

为中国内地的Node.js开发者准备的镜像配置,大大提高node模块安装速度。

特性

  • 支持Windows和其他操作系统
  • 自动配置各个node模块的安装源为淘宝镜像

安装

npm i -g mirror-config-china --registry=https://registry.npm.taobao.org
# 查看npm配置
npm config list
# 查看环境变量
source ~/.bashrc && env

参数

--registry=https://registry.npm.taobao.org

registry.npmjs.com 镜像URL

--bin-mirrors-prefix=https://npm.taobao.org/mirrors

npm.taobao.org/mirrors 镜像URL,会覆盖下文中的{bin-mirrors}

--apt-mirrors-prefix=https://mirrors.tuna.tsinghua.edu.cn

mirrors.tuna.tsinghua.edu.cn 镜像URL,会覆盖下文中的{apt-mirrors}

--ali-mirrors-prefix=https://mirrors.aliyun.com

mirrors.aliyun.com 镜像URL,会覆盖下文中的{ali-mirrors} 阿里云ECS VPC或经典网络用户请分别使用http://mirrors.cloud.aliyuncs.comhttp://mirrors.aliyuncs.com代替

--nodejs-org-mirror={bin-mirrors}/node (别名: --disturl)

nodejs.org/dist 镜像URL

--iojs-org-mirror={bin-mirrors}/iojs

iojs.org/dist 镜像URL

--nvmw-npm-mirror={bin-mirrors}/npm

github.com/npm/npm/releases 镜像URL

--apt-mirror={ali-mirrors}

Debian/Ubuntu APT镜像URL

--apt-gitlab-runner={apt-mirrors}/gitlab-runner/{release-id}

GitLab Runner APT镜像URL

--apt-docker-ce={ali-mirrors}/docker-ce/linux/{release-id}

Docker社区版 APT镜像URL

--apt-gitlab-ce={apt-mirrors}/gitlab-ce/{release-id}

GitLab社区版 APT镜像URL

--apt-virtualbox={apt-mirrors}/virtualbox/apt

VirtualBox APT镜像URL

--apt-nodesource={apt-mirrors}/nodesource/deb

NodeJS APT镜像URL前缀

其他

其他参数将被写入.npmrc文件中

安装成功后,针对以下组件的镜像URL,将被写入npm用户配置文件(~/.npmrc)中

为项目生成镜像配置文件

cd ~/my-project
mirror-config-china --registry=https://registry.npm.taobao.org
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].