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.