Add multiple proxies and switch between them and also remove and restore the npmrc file.
This will remove the current npmrc. It will keep a backup so you can restore it later.
npm-proxy-switch npmrc remove
This will restore the npmrc that you removed previously.
npm-proxy-switch npmrc restore
This will store a proxy setting under the name
that you've provided. You can add multiple types under the same name
npm-proxy-switch example set proxy http://proxy.company.com:8080
npm-proxy-switch example set proxy-https https://proxy.company.com:8080
This will set the proxy to the values which is set on the name.
npm-proxy-switch example
This will set the proxy to empty values
npm-proxy-switch none