socks-proxy-agent is a Node.js package that enables you to route your HTTP and HTTPS requests through a SOCKS proxy server. It creates an http.Agent or https.Agent instance, handling the SOCKS protocol handshake. Ideal for scenarios requiring enhanced privacy, security, or access to region-restricted resources. Supports SOCKS v4, SOCKS v4a, and SOCKS v5 proxies. Simply configure the proxy URL, and all subsequent requests via the agent will be tunneled.
The socks-proxy-agent npm package has seen irregular releases since 2013. Releases were more frequent in the earlier years, with periods of no updates followed by bursts. Version 8.x is latest release, updates in 2023 and 2024. No releases in 2025 so far.
Socks-proxy-agent npm package downloads surged in 2024, peaking in October with over 107 million. While remaining high, downloads fluctuated between 93 and 107 million until January 2025. From February to July 2025 it shows a significant increase of downloads, going up to 142 million. August 2025 shows a drop in downloads.