node-http-proxy is a Node.js HTTP proxy library used for forwarding requests to target servers. It functions as reverse proxy middleware capable of mapping incoming routes to target destinations and transforming request and response data streams.
The library includes a WebSocket proxy gateway that upgrades standard HTTP connections into bidirectional streams between clients and backend servers. It also provides a response transformer for modifying bodies, location headers, and cookie domains.
The project covers traffic routing management via rule-based translation tables and secure connection establishment using TLS termination and SSL certificates. It further supports real-time data transformation for request and response headers and event-driven error handling to capture failures during the proxying lifecycle.