proxy-from-env
Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.
proxy-from-env@2.1.0 was published on 2026-03-14. Its manifest declares 0 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=10.
All proxy-from-env versions · Permanent reference to 2.1.0
Package specifications
| Version | 2.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-03-14T18:32:47.942Z |
| Node.js requirement | >=10 |
| Type declarations | Not declared |
| Runtime dependency count | 0 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | 952 B |
| Minified + gzip | 600 B |
| Unpacked distribution size | 15.28 KiB |
| Published file count | 5 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | index.cjs |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 0 |
| Repository stars | 73 |
| Repository forks | 33 |
Install proxy-from-env 2.1.0
npm install proxy-from-env@2.1.0 pnpm add proxy-from-env@2.1.0 yarn add proxy-from-env@2.1.0
Runtime dependencies
- None declared
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Binary-Artifacts | 10/10 — no binaries found in the repo |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Code-Review | 1/10 — Found 4/30 approved changesets -- score normalized to 1 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/proxy-from-env/2.1.0 — retrieved 2026-10-29T05:55:41.952Z
- https://api.deps.dev/v3/systems/npm/packages/proxy-from-env/versions/2.1.0:dependencies — retrieved 2026-10-29T05:55:42.405Z
- https://api.deps.dev/v3/systems/npm/packages/proxy-from-env/versions/2.1.0 — retrieved 2026-10-29T05:55:42.480Z
- https://bundlephobia.com/api/size?package=proxy-from-env%402.1.0 — retrieved 2026-10-29T05:55:42.531Z
- https://api.deps.dev/v3/projects/github.com%2FRob--W%2Fproxy-from-env — retrieved 2026-10-29T05:55:42.648Z