proxyvator

1.0.0 • Public • Published

proxyvator

NPM pkg NPM dm

Configures environment when developing behind a proxy

Quick Start

Before anything, you need installed:

Then, just use npm install to get it ready:

$ npm install -g proxyvator

Current Support

Before version 1.0.0, proxyvator had internal support for configuring:

  • git
  • npm.js
  • bower

From version 1.0.0, it was changed in favor to support plugins as global npm modules. This way you can have installed the plugins you only need.

Visit npm.js to search for proxyvator plugins, these are named starting with proxyvator- then the plugin name (e.g. proxyvator-git, proxyvator-npm)

Usage

Calling proxyvator from command line outputs the general help:

$ proxyvator
 
  Usage: proxyvator [options] [command]
 
  Commands:
 
    plugins           list proxyvator plugins installed
    setup [options]   setup configuration for developing behind the proxy
    clear             clear configuration for developing behind the proxy
 
  Options:
 
    -h, --help     output usage information
    -V, --version  output the version number
    --debug        output debbuging messages

proxyvator has three commands:

  • plugins which lists the installed plugins.
  • setup which sets up the configuration for developing behind the proxy specified or saved prevoiusly.
  • clean which cleans the configuration for using direct connection.

Setting up a proxy

The proxyvator setup command has several options:

$ proxyvator setup --help
 
  Usage: setup [options]
 
  Options:
 
    -h, --help     output usage information
    --http <url>   set url for http proxy (e.g. http://myproxy.com:8080)
    --https <url>  set url for https proxy (e.g. https://me:mypass@myproxy.com:443
    --same         use the same http proxy for https
    --save         save settings

For the first time you call proxyvator, you must specify the options --http <url> --save to set your proxy and save it to the app settings.

$ proxyvator setup --http http://myproxy.com:8080 --save

If you have the same proxy for http and https requests, then you can use the option --same to tell the app that it will use the proxy specified by --http <url> as the https proxy.

$ proxyvator setup --http http://mysweetproxy.org:80 --same --save

When you previously saved the proxy settings, just call:

$ proxyvator setup

Cleaning proxy settings

Just call the command clear to have your proxy settings erased:

$ proxyvator clear

Readme

Keywords

Package Sidebar

Install

npm i proxyvator

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ivangaravito