Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 704 Bytes

readme.md

File metadata and controls

34 lines (21 loc) · 704 Bytes

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