npm to cnpm
command | Description |
---|---|
npm --registry ‘https://registry.npm.taobao.org’ install express | Temporary way |
npm install -g cnpm --registry=‘https://registry.npm.taobao.org’ | cnpm way |
npm config set registry ‘https://registry.npm.taobao.org’ | Change source |
npm config get registry | Verification is successful |