Npm

Some npm config operation

Setting proxy for npm

warn: setting the environment like http_proxy or https_proxy won't work

npm config set proxy http://127.0.0.1:10809
npm config set https-proxy http://127.0.0.1:10809

Set registry source

npm config set registry=http://registry.npmjs.org

View npm config

npm config get

Delete npm config item

npm config delete proxy
npm config delete https-proxy
npm config delete registry