pac-proxy-agent
npmv9.1.0A PAC file proxy `http.Agent` implementation for HTTP
Adopt with care
pac-proxy-agent is usable, with caveats. Pulls in 21 transitive packages, about 3.0 MB installed (at least — some of the tree is still being crawled).
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 93 days ago. 6 releases in the last 2 years.
- CWeight: grade C, Fair — worth a look.
Pulls in 21 transitive packages, about 3.0 MB installed (at least — some of the tree is still being crawled).
- 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 pac-proxy-agent to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing pac-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 pac-proxy-agent README.
import * as http from 'http';
import { PacProxyAgent } from 'pac-proxy-agent';
const agent = new PacProxyAgent('pac+https://cloudup.com/ceGH2yZ0Bjp+');
http.get('http://nodejs.org/api/', { agent }, (res) => {
console.log('"response" event!', res.headers);
res.pipe(process.stdout);
});pac-proxy-agent vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| pac-proxy-agentthis page | 0 | 1 | MIT | 3 months ago |
| socks-proxy-agent | 0 | 3 | MIT | 1 day ago |
| proxy-agent | 0 | 1 | MIT | 1 day ago |
| https-proxy-agent | 225.1M | 10 | MIT | 1 day ago |
| undici | 158.5M | 15 | MIT | 1 day ago |
| @mswjs/interceptors | 20.3M | 1 | MIT | 1 day ago |
Dependencies
Declared by pac-proxy-agent v9.1.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (8)
Dev (7)
Used by
Popular packages that depend on pac-proxy-agent.
Relationship graph
Dependencies (left) and dependents (right) of pac-proxy-agent.
Frequently installed together
An HTTP(s) proxy `http.Agent` implementation for HTTPS
Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.
TypeScript definitions for node
Turn a function into an `http.Agent` instance
TypeScript definitions for ws
An HTTP(s) proxy `http.Agent` implementation for HTTP
A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS
Lightweight debugging utility for Node.js and the browser
TypeScript definitions for debug
Release history
6 releases in the last two years, typically about 50 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 9.1.0latest | 3 months ago | 24 KB | MIT |
| 9.0.1 | 5 months ago | 22 KB | MIT |
| 9.0.0 | 5 months ago | 22 KB | MIT |
| 8.0.0 | 6 months ago | 22 KB | MIT |
| 7.2.0 | 1 year ago | 33 KB | MIT |
| 7.1.0 | 1 year ago | 33 KB | MIT |
| 7.0.2 | 2 years ago | 33 KB | MIT |
| 7.0.1 | 3 years ago | 33 KB | MIT |
| 7.0.0 | 3 years ago | 33 KB | MIT |
| 6.0.4 | 3 years ago | 32 KB | MIT |
| 6.0.3 | 3 years ago | 32 KB | MIT |
| 6.0.2 | 3 years ago | 32 KB | MIT |
| 6.0.1 | 3 years ago | 31 KB | MIT |
| 6.0.0 | 3 years ago | 31 KB | MIT |
| 5.0.0 | 5 years ago | 24 KB | MIT |
Overview
pac-proxy-agent is an npm package that a PAC file proxy `http.Agent` implementation for HTTP. It has 1 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 a PAC file 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
Frequently asked questions
Should I use pac-proxy-agent?
pac-proxy-agent is usable, with caveats. Pulls in 21 transitive packages, about 3.0 MB installed (at least — some of the tree is still being crawled).
How do I install pac-proxy-agent?
Run `npm install pac-proxy-agent` to add pac-proxy-agent to your npm project.
How many dependencies does pac-proxy-agent have?
pac-proxy-agent declares 15 direct dependencies and pulls in 21 packages in total once its runtime tree is resolved totalling about 3.0 MB on disk.
What license is pac-proxy-agent released under?
pac-proxy-agent is distributed under the MIT license. Its dependency tree also includes: BSD-2-Clause, BSD-3-Clause, MIT.
How popular is pac-proxy-agent?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on pac-proxy-agent.
Is pac-proxy-agent still maintained?
The most recent release of pac-proxy-agent (v9.1.0) was published 3 months ago.
Does pac-proxy-agent run install scripts?
No. pac-proxy-agent does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.