emeryao / tnpm

Invoke npm using Taobao registry with '--registry=https://registry.npm.taobao.org'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WARN

It seems that Taobao npm registry is not working well with the latest npm@5 so please prefer official npm if possible

NPM

tnpm

Call npm using Taobao registry by adding or replacing the registry param with
--registry=https://registry.npm.taobao.org

Install

With npm installed, run

npm install -g tb-npm

Usage

The entry command is tnpm
JUST use tnpm like npm
The ONLY difference is the registry param is always https://registry.npm.taobao.org

Example

tnpm install -g ts-starter

License

MIT

About

Invoke npm using Taobao registry with '--registry=https://registry.npm.taobao.org'

License:MIT License


Languages

Language:TypeScript 92.3%Language:JavaScript 7.7%