Skip to content

floatdrop/proxy-support

Repository files navigation

proxy-support Build Status

Patch http and https request method to use tunnel-agent

⚠️ This module will replace 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 [email protected].

License

MIT © Vsevolod Strukchinsky

About

Patch http and https request method to use tunnel-agent

Resources

License

Stars

Watchers

Forks

Packages

No packages published