{"library":"http-proxy-3","type":"library","category":null,"description":"http-proxy-3 is an actively maintained, modern rewrite of the popular `http-proxy` library for Node.js, currently at version 1.23.2. It provides programmable HTTP/HTTPS and WebSocket proxying capabilities, suitable for building reverse proxies, load balancers, or API gateways. Key differentiators include a complete rewrite in TypeScript for enhanced type safety and maintainability, full HTTP/2 support via the `fetch` API, and comprehensive updates to all dependent packages to address security vulnerabilities. The library explicitly fixes known socket leaks and uncatchable WebSocket errors present in the unmaintained original `http-proxy`. It is used in production by major projects like Vite, CoCalc, and JupyterHub, ensuring a stable and reliable solution for integrating application logic with proxy server functionality.","language":"javascript","status":"active","version":"1.23.2","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-proxy-3","imports":["import { createProxyServer } from 'http-proxy-3';","import type { ProxyServerOptions } from 'http-proxy-3';","import type { ProxyServer } from 'http-proxy-3';"]},{"cmd":"yarn add http-proxy-3","imports":[]},{"cmd":"pnpm add http-proxy-3","imports":[]}],"homepage":null,"github":"https://github.com/sagemathinc/http-proxy-3","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-proxy-3","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/http-proxy-3/compatibility"}}