proxy-from-env
npmv2.1.0Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.
Overview
proxy-from-env is an npm package that offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables. The latest version is 2.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
- Lean dependency tree (1 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of proxy-from-env.
Dependencies
Dev (1)
Used by
Popular packages that depend on proxy-from-env.
Alternatives to proxy-from-env
Determine address of proxied request
Determine the address of a proxied request
An HTTP(s) proxy `http.Agent` implementation for HTTPS
Negotiate/SPNEGO proxy authentication for proxy-agents
Get the PATH environment variable key cross-platform
Get paths for storing things like data, config, cache, etc
Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.
Frequently installed together
An AST-based pattern checker for JavaScript.
Node.js body parsing middleware
Prettier is an opinionated code formatter
Fast, unopinionated, minimalist web framework
Next generation testing framework powered by Vite
Browser running for Vitest using playwright
A high-level API to automate web browsers
Browser running for Vitest
ECMAScript parser
A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.
HTTP and HTTPS modules that follow redirects.
An HTTP(s) proxy `http.Agent` implementation for HTTPS
Version history
| Version | Published | License |
|---|---|---|
| 2.1.0latest | 4 months ago | MIT |
| 2.0.0 | 5 months ago | MIT |
| 1.1.0 | 6 years ago | MIT |
| 1.0.0 | 9 years ago | MIT |
| 0.1.1 | 9 years ago | MIT |
| 0.1.0 | 10 years ago | MIT |
| 0.0.1 | 10 years ago | MIT |
Maintainers
Frequently asked questions
How do I install proxy-from-env?
Run `npm install proxy-from-env` to add proxy-from-env to your npm project.
What license is proxy-from-env released under?
proxy-from-env is distributed under the MIT license.
How popular is proxy-from-env?
proxy-from-env has approximately 0 downloads per week and 1 known dependent packages.