</>PackageGraphPackageGraph

socks-proxy-agent

npmv10.1.0

A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS

Safe to adopt

Yes — socks-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. 4 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. 4 releases in the last 2 years.

  • BWeight: grade B, Good.

    Pulls in 6 transitive packages, about 724 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • 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 socks-proxy-agent to a project.

3
Direct dependencies

Runtime packages this one declares itself.

6
Total installed

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

724 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 socks-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 socks-proxy-agent README.

import https from 'https';
import { SocksProxyAgent } from 'socks-proxy-agent';

const agent = new SocksProxyAgent(
	'socks://your-name%40gmail.com:abcdef12345124@br41.nordvpn.com'
);

https.get('https://ipinfo.io', { agent }, (res) => {
	console.log(res.headers);
	res.pipe(process.stdout);
});

socks-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
socks-proxy-agentthis page03MIT3 months ago
pac-proxy-agent01MIT18 hours ago
proxy-agent01MIT18 hours ago
socks51.6M2MIT19 hours ago
https-proxy-agent225.1M10MIT17 hours ago
agent-base06MIT18 hours ago

Dependencies

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

Dev (12)

@types/async-retry ^1.4.5@types/debug ^4.1.7@types/dns2 ^2.0.3@types/node ^22.13.0async-listen ^3.0.0async-retry ^1.3.3cacheable-lookup ^6.1.0dns2 ^2.1.0proxy 4.1.0socksv5 github:TooTallNate/socksv5#d937368b28e929396166d77a06d387a4a902bd51tsconfig 0.0.0typescript ^5.1.6

Used by

Popular packages that depend on socks-proxy-agent.

Relationship graph

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

Frequently installed together

Release history

4 releases in the last two years, typically about 73 days apart.

Recent versions of socks-proxy-agent
VersionPublishedSizeLicense
10.1.0latest3 months ago18 KBMIT
10.0.05 months ago17 KBMIT
9.0.06 months ago17 KBMIT
8.0.51 year ago25 KBMIT
8.0.42 years ago24 KBMIT
8.0.32 years ago24 KBMIT
8.0.23 years ago24 KBMIT
8.0.13 years ago23 KBMIT
8.0.03 years ago23 KBMIT
7.0.04 years ago22 KBMIT
6.2.14 years ago22 KBMIT
6.2.04 years ago27 KBMIT
6.2.0-beta.14 years ago26 KBMIT
6.2.0-beta.04 years ago26 KBMIT
6.1.14 years ago19 KBMIT

Overview

socks-proxy-agent is an npm package that a SOCKS proxy `http.Agent` implementation for HTTP and HTTPS. It has 3 known dependents in the graph. The latest version is 10.1.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a SOCKS proxy `http.Agent` implementation for HTTP and HTTPS 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 socks-proxy-agent?

Yes — socks-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. 4 releases in the last 2 years.

How do I install socks-proxy-agent?

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

How many dependencies does socks-proxy-agent have?

socks-proxy-agent declares 15 direct dependencies and pulls in 6 packages in total once its runtime tree is resolved totalling about 724 KB on disk.

What license is socks-proxy-agent released under?

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

How popular is socks-proxy-agent?

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

Is socks-proxy-agent still maintained?

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

Does socks-proxy-agent run install scripts?

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