1.0.1 • Published 9 years ago

npm-proxy-switch v1.0.1

Weekly downloads
6
License
ISC
Repository
github
Last release
9 years ago

npm-proxy-switch

Add multiple proxies and switch between them and also remove and restore the npmrc file.

npmrc remove

This will remove the current npmrc. It will keep a backup so you can restore it later.

Example

npm-proxy-switch npmrc remove

npmrc restore

This will restore the npmrc that you removed previously.

Example

npm-proxy-switch npmrc restore

<name> set <proxyType> <proxyURL>

This will store a proxy setting under the name that you've provided. You can add multiple types under the same name

Example

npm-proxy-switch example set proxy http://proxy.company.com:8080
npm-proxy-switch example set proxy-https https://proxy.company.com:8080

<name>

This will set the proxy to the values which is set on the name.

Example

npm-proxy-switch example
1.0.1

9 years ago

1.0.0

9 years ago