Patch http and https request method to use tunnel-agent
agent
option in every http and https request
Install
$ npm install --save proxy-support -g
Usage
Most tools (which use request, got, etc...) are using global Agent from http
, so to fix proxy support you should do something like this:
alias node="node -r proxy-support"
This should work from iojs@1.6.0.
License
MIT © Vsevolod Strukchinsky