Skip to content

emeryao/tnpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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