</>PackageGraphPackageGraph

http-proxy-agent

npmv9.1.0

An HTTP(s) proxy `http.Agent` implementation for HTTP

Safe to adopt

Yes — http-proxy-agent scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 93 days ago. 3 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 93 days ago. 3 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 4 transitive packages, about 90 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding http-proxy-agent to a project.

3
Direct dependencies

Runtime packages this one declares itself.

4
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

90 KB
Install size

Unpacked size of this package plus its entire runtime tree.

2
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing http-proxy-agent, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >= 20
Module format
ESM only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the http-proxy-agent README.

import * as http from 'http';
import { HttpProxyAgent } from 'http-proxy-agent';

const agent = new HttpProxyAgent('http://168.63.76.32:3128');

http.get('http://nodejs.org/api/', { agent }, (res) => {
  console.log('"response" event!', res.headers);
  res.pipe(process.stdout);
});

http-proxy-agent vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
http-proxy-agentthis page05MIT3 months ago
https-proxy-agent225.1M10MIT17 hours ago
socks-proxy-agent03MIT18 hours ago
proxy-agent01MIT18 hours ago
pac-proxy-agent01MIT18 hours ago
agent-base06MIT18 hours ago

Dependencies

Declared by http-proxy-agent v9.1.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (6)

@types/debug ^4.1.7@types/node ^22.13.0async-listen ^3.0.0proxy 4.1.0tsconfig 0.0.0typescript ^5.1.6

Used by

Popular packages that depend on http-proxy-agent.

Relationship graph

Dependencies (left) and dependents (right) of http-proxy-agent.

Frequently installed together

Release history

3 releases in the last two years, typically about 63 days apart.

Recent versions of http-proxy-agent
VersionPublishedSizeLicense
9.1.0latest3 months ago17 KBMIT
9.0.05 months ago15 KBMIT
8.0.06 months ago16 KBMIT
7.0.22 years ago23 KBMIT
7.0.12 years ago23 KBMIT
7.0.03 years ago24 KBMIT
6.1.13 years ago24 KBMIT
6.1.03 years ago23 KBMIT
6.0.13 years ago20 KBMIT
6.0.03 years ago20 KBMIT
5.0.05 years ago17 KBMIT
4.0.16 years ago17 KBMIT
4.0.06 years ago15 KBMIT
3.0.06 years ago7.0 KBMIT
2.1.08 years ago20 KBMIT

Overview

http-proxy-agent is an npm package that an HTTP(s) proxy `http.Agent` implementation for HTTP. It has 5 known dependents in the graph. The latest version is 9.1.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need an HTTP(s) proxy `http.Agent` implementation for HTTP 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).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use http-proxy-agent?

Yes — http-proxy-agent scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 93 days ago. 3 releases in the last 2 years.

How do I install http-proxy-agent?

Run `npm install http-proxy-agent` to add http-proxy-agent to your npm project.

How many dependencies does http-proxy-agent have?

http-proxy-agent declares 9 direct dependencies and pulls in 4 packages in total once its runtime tree is resolved totalling about 90 KB on disk.

What license is http-proxy-agent released under?

http-proxy-agent is distributed under the MIT license.

How popular is http-proxy-agent?

npm does not publish download counts. Within PackageGraph's crawl, 5 known packages depend on http-proxy-agent.

Is http-proxy-agent still maintained?

The most recent release of http-proxy-agent (v9.1.0) was published 3 months ago.

Does http-proxy-agent run install scripts?

No. http-proxy-agent does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.