Skip to content
JS
Package

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.

v2.1.0, 14 Mar 2026MITESM + CommonJSTypes: NoneConfigurationNode.js utilities
$ npm install proxy-from-env

Key numbers

As of 25 Sept 2026
Weekly downloads
90m
+101% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 months ago
v2.1.0
GitHub stars
73
33 forks
Open issues / PRs
8 / 0
Contributors
4
Commits, last 52 weeks
19

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 128.4m (25 Aug 2026)Low 32.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

89,996,601 downloads last week, 453,585,140 in the last month. The 12-month change of +101% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
27 in total
Latest version
2.1.0, 14 Mar 20266 months ago
First published
18 Feb 2016
Last push to GitHub
14 Mar 2026194 days before the snapshot
Repository archived
No
Open issues
8
Open pull requests
0
Commits, last 52 weeks
19
Dependents on npm
899

Major versions

  1. v2 first release 2.0.0, 9 Feb 2026
  2. v1 first release 1.0.0, 24 Feb 2017
  3. v0 first release 0.0.1, 18 Feb 2016

Recent releases

VersionPublished
2.1.014 Mar 2026
2.0.09 Feb 2026
1.1.04 Mar 2020
1.0.024 Feb 2017
0.1.117 Oct 2016
0.1.019 Feb 2016
0.0.118 Feb 2016
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
15 kB
Dependencies (0)
None
npm install proxy-from-env
  • jsDelivrhttps://cdn.jsdelivr.net/npm/proxy-from-env@2.1.0/
  • unpkghttps://unpkg.com/proxy-from-env@2.1.0/
  • esm.shhttps://esm.sh/proxy-from-env@2.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.