gucong3000 / Mirror Config China
Licence: mit
Mirrors in China about node.js
Stars: ✭ 333
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Mirror Config 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
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
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
Openapi Generator Cli
A node package wrapper for https://github.com/OpenAPITools/openapi-generator
Stars: ✭ 305 (-8.41%)
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
mirror-config-china
为中国内地的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.com
或http://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}
--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)中
- ChromeDriver
- Electron
- git-win
- node-gyp
- node-inspector
- node-sass
- node-sqlite3
- nodegit
- nodist
- nvm-windows
- nvm
- OperaDriver
- phantomjs
- Puppeteer
- selenium-standalone
- windows-build-tools
为项目生成镜像配置文件
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].