proxy-from-env icon indicating copy to clipboard operation
proxy-from-env copied to clipboard

A Node.js library to get the proxy URL for a given URL based on standard environment variables (http_proxy, no_proxy, ...).

Results 18 proxy-from-env issues
Sort by recently updated
recently updated
newest added

Expected behavior: `NO_PROXY` would override `npm_config_noproxy` Actual behavior: `npm_config_noproxy`, if set, overrides `NO_PROXY` I see that this was discussed in #9 and @Rob--W [originally recommended](https://github.com/Rob--W/proxy-from-env/pull/9#issuecomment-593682966) the behavior expected in this...

Add support for 'noproxy' from .npmrc (https://docs.npmjs.com/cli/v9/using-npm/config#noproxy) and have it takes precedence over `no_proxy` in .npmrc. `noproxy` is npm's documented way of specifying non proxied hosts and domains.

It seems the library is already compatible with WHATWG URLs, this PR is only updating tests and documentation to reflect that.

An environment may have a 'plain' http://proxy.example:80 only and need to send a https://example.com url through. We hit this when attempting to use puppeteer which utilizes this library to gather...

I try to run a nft-marketplace demo by using 'proxy-from-env' module. But the problem is, when I run "npm run dev" on terminal, it gives an error information which is...

In some CGI servers, notably older versions of Apache (prior to the [HTTPoxy response](https://www.apache.org/security/asf-httpoxy-response.txt)), an attacker can set the `HTTP_PROXY` environment variable by sending a `Proxy:` request header. Applications and...

I can see we can provide a NO_PROXY, but can we actually provide a whitelist for the _only_ urls that can be proxied? Would you consider a contribution for such...

via [universal-url](https://npmjs.com/universal-url)

Hi. Is there a way to use this library with socks5 proxies?