{"library":"express-http-proxy-2","type":"library","category":null,"description":"express-http-proxy-2 is an HTTP proxy middleware for the Express.js framework, designed to forward incoming requests to a specified target host and stream the responses back. This package is a community-maintained fork of the original `express-http-proxy` library, specifically created to address critical bugs, such as issue #509, and to provide comprehensive TypeScript type definitions, making it more robust for modern JavaScript and TypeScript projects. Currently at version 1.1.0, its release cadence is tied to bug fixes and feature enhancements derived from the community's needs, rather than a fixed schedule. Key differentiators include built-in support for streaming requests and responses, the ability to use Promises for asynchronous hooks, and flexible host selection which can be a static string or a dynamic function evaluated per request. It seamlessly integrates into Express applications, offering various configuration options to customize request path resolution, header manipulation, and conditional proxying.","language":"javascript","status":"maintenance","version":"1.1.0","tags":["javascript","express-http-proxy-2","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-http-proxy-2","imports":["import proxy from 'express-http-proxy-2';","import type { ProxyOptions } from 'express-http-proxy-2';","const proxy = require('express-http-proxy-2');"]},{"cmd":"yarn add express-http-proxy-2","imports":[]},{"cmd":"pnpm add express-http-proxy-2","imports":[]}],"homepage":null,"github":"https://github.com/leonheess/express-http-proxy-2","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-http-proxy-2","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/express-http-proxy-2/compatibility"}}