# http-party/node-http-proxy

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/http-party-node-http-proxy).**

14,135 stars · 2,007 forks · JavaScript · NOASSERTION

## Links

- GitHub: https://github.com/http-party/node-http-proxy
- Homepage: https://github.com/http-party/node-http-proxy
- awesome-repositories: https://awesome-repositories.com/repository/http-party-node-http-proxy.md

## Description

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.

## Tags

### Networking & Communication

- [HTTP Reverse Proxies](https://awesome-repositories.com/f/networking-communication/http-reverse-proxies.md) — Functions as a reverse proxy middleware that forwards incoming HTTP requests to target backend servers. ([source](https://github.com/http-party/node-http-proxy/blob/master/README.md))
- [Node.js Proxy Servers](https://awesome-repositories.com/f/networking-communication/node-js-proxy-servers.md) — A Node.js library for forwarding HTTP requests to target servers with support for header rewriting and SSL validation.
- [Handshake Upgrade Handlers](https://awesome-repositories.com/f/networking-communication/handshake-upgrade-handlers.md) — Detects WebSocket upgrade requests to transition from standard HTTP to persistent bidirectional data streams.
- [Header Modifiers](https://awesome-repositories.com/f/networking-communication/header-modifiers.md) — Intercepts and modifies request and response headers before they reach the target server or client.
- [WebSocket and HTTP/2 Passthrough Proxies](https://awesome-repositories.com/f/networking-communication/http-2-and-websocket-servers/websocket-and-http-2-passthrough-proxies.md) — Upgrades HTTP connections to bidirectional WebSocket streams between clients and backend servers.
- [Response Body Modifiers](https://awesome-repositories.com/f/networking-communication/network-reliability-diagnostics/network-interception-tools/response-body-modifiers.md) — Intercepts the response stream to modify data or headers before delivering the final payload to the client.
- [Request Header Configuration](https://awesome-repositories.com/f/networking-communication/request-header-configuration.md) — Modifies outgoing proxy request headers by adding or changing values before sending the request to the target server. ([source](https://github.com/http-party/node-http-proxy/blob/master/README.md))
- [Traffic Routing](https://awesome-repositories.com/f/networking-communication/traffic-routing.md) — Directs incoming requests to different backend destinations based on predefined routing rules and translation tables.
- [Traffic Routing Rules](https://awesome-repositories.com/f/networking-communication/traffic-routing-rules.md) — Maps incoming request paths to specific target destinations using a rule-based translation table. ([source](https://github.com/http-party/node-http-proxy))
- [Response Body Modifiers](https://awesome-repositories.com/f/networking-communication/network-reliability-diagnostics/network-interception-tools/response-body-modifiers/response-body-setters/response-body-modifiers.md) — Provides the ability to intercept and modify response bodies before they are delivered to the client. ([source](https://github.com/http-party/node-http-proxy/blob/master/README.md))
- [Network Stream Transformations](https://awesome-repositories.com/f/networking-communication/network-stream-transformations.md) — Modifies incoming request and outgoing response data streams in real time to optimize memory usage. ([source](https://github.com/http-party/node-http-proxy))
- [Proxy Server Management](https://awesome-repositories.com/f/networking-communication/proxy-server-management.md) — Provides mechanisms to start a proxy server on a specific port or shut it down to stop accepting connections. ([source](https://github.com/http-party/node-http-proxy/blob/master/README.md))

### Security & Cryptography

- [Cookie and Redirect Rewriting](https://awesome-repositories.com/f/security-cryptography/cookie-security/cookie-and-redirect-rewriting.md) — Modifies location hostnames, protocols, and cookie domains in responses to ensure correct client routing. ([source](https://github.com/http-party/node-http-proxy/blob/master/README.md))
- [SSL/TLS Connection Security](https://awesome-repositories.com/f/security-cryptography/ssl-tls-connection-security.md) — Establishes encrypted connections using SSL certificates to secure traffic between the proxy and the target.

### System Administration & Monitoring

- [Rule-Based Routing Systems](https://awesome-repositories.com/f/system-administration-monitoring/administrative-operations/linux-system-administration/networking/proxy-management-systems/traffic-routing-controllers/rule-based-routing-systems.md) — Matches incoming request paths against a translation table to determine the appropriate destination server.

### Testing & Quality Assurance

- [Response Rewriters](https://awesome-repositories.com/f/testing-quality-assurance/general-testing-utilities/test-utilities-assertions/network-api-mocking/api-response-modifiers/dynamic-response-filters/http-response-filters/response-rewriters.md) — Modifies response bodies, location headers, and cookies in real time before sending data back to the client.

### Web Development

- [Reverse Proxies](https://awesome-repositories.com/f/web-development/backend-development/request-response-handling/http-request-handling/reverse-proxies.md) — Maps incoming routes to target destinations and transforms request and response data streams.
- [Response Header Modifiers](https://awesome-repositories.com/f/web-development/backend-development/request-response-handling/http-response-handling/response-metadata-accessors/response-header-modifiers.md) — Utility for modifying response bodies, location headers, and cookie domains before they reach the client.
- [Request](https://awesome-repositories.com/f/web-development/backend-development/request-response-handling/http-response-handling/response-streaming/request.md) — Processes incoming and outgoing data as chunks to minimize memory overhead during request and response forwarding.
- [Web Server Lifecycle Controls](https://awesome-repositories.com/f/web-development/http-server-configuration/grpc-server-configurations/server-lifecycle-management/web-server-lifecycle-controls.md) — Provides controls to start a standalone web server to listen for connections or shut it down. ([source](https://github.com/http-party/node-http-proxy))
