{"library":"hpagent","type":"library","category":null,"description":"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).","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","agent","http","https","secure","proxy","alive","keep-alive","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hpagent","imports":["import { HttpProxyAgent } from 'hpagent'","import { HttpsProxyAgent } from 'hpagent'","import type { HttpProxyAgentOptions } from 'hpagent'"]},{"cmd":"yarn add hpagent","imports":[]},{"cmd":"pnpm add hpagent","imports":[]}],"homepage":null,"github":"https://github.com/delvedor/hpagent","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hpagent","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/hpagent/compatibility"}}