淘宝 npm 地址: http://npm.taobao.org/express
如何使用
有不少方法来配置npm的registry地址,下面根据不一样情境列出几种比较经常使用的方法。以淘宝npm镜像举例:npm
npm --registry https://registry.npm.taobao.org install express
npm config set registry https://registry.npm.taobao.org
npm config get registry
npm info express
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install express