Preparing for system design interviews?  Try bugzed.com →

HTTP/HTTPS Proxy Agent for Node.js

JSON →
library 1.2.0 ·javascript
verified Jun 17, 2026

hpagent is a Node.js library providing HttpProxyAgent and HttpsProxyAgent classes designed to facilitate HTTP and HTTPS requests through proxy servers while leveraging connection keep-alive mechanisms. Currently at version 1.2.0, it maintains an active development status with periodic releases introducing features and bug fixes, such as strict TypeScript support and improved proxy handling. A key differentiator is its ability to serve as a drop-in replacement for Node.js's native `http` and `https` agents, offering robust proxy configuration options, including basic authentication via URL or custom headers, and the ability to pass specific options for the proxy CONNECT request. The library explicitly demonstrates compatibility with popular userland HTTP clients like `got`, `needle`, `node-fetch`, and `simple-get`, and ships with TypeScript type definitions, making it suitable for modern Node.js applications (Node.js >=14 is required since v1.0.0).

total hits 20
actors 6 distinct systems
last hit 17d ago AhrefsBot
GPTBot
4
Amazonbot
4
ChatGPT-User
4
Script
1
Search engines
1
Humans
3

top countries 🇺🇸 United States · 🇨🇳 China · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany