Taobao npm address: http://npm.taobao.org/
How to use
There are many ways to configure the registry address of npm. The following are some of the more commonly used methods according to different situations. Take Taobao npm mirror as an example:
1. Temporary use
npm --registry https://registry.npm.taobao.org install express
2. Long-lasting use
npm config set registry https://registry.npm.taobao.org
- After configuration, you can verify whether it is successful in the following ways
npm config get registry
- or
npm info express
3. Use through cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
- use
cnpm install express