chimurai/http-proxy-middleware

:zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 5th, 2026
Created on March 14th, 2015
Open Issues & Pull Requests: 17 (+0)
GitHub issues: Enabled
Number of forks: 878
Total Stargazers: 11,131 (+0)
Total Subscribers: 115 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.1 days
Mean response time: 164.0 days
90th percentile: 546.9 days
Tracked items: 147

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Work labelled "faq" is answered fastest, typically in about 11 hours, while "enhancement" waits about 7 weeks. Only 3% of issues opened in the past year have been closed. Three people close 88% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 10
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 1,265 days
Stale 30+ days: 9
Stale 90+ days: 6

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • faq (30)
  • need minimal reproduction (12)
  • enhancement (11)
  • bug (8)
  • wontfix (8)
  • upstream (5)
  • awaiting response (4)
  • help wanted (3)

Most active issues this week

Detailed Description

http-proxy-middleware is a Node.js HTTP proxy middleware for connect, express, next.js, and other compatible frameworks.

The tool solves the problem of routing requests to backend services by providing a simple, configurable middleware layer. It wraps httpxy, a maintained version of the node-http-proxy library, allowing developers to define proxy rules declaratively. Configuration centers on the createProxyMiddleware function, which accepts options like target URL, path filtering, path rewriting, and dynamic routing. The middleware integrates directly into the request handling pipeline of supported frameworks.

Developers should choose this tool when building applications that need to forward requests to external services, such as proxying API calls to a backend server or handling development-time backend integration. It suits projects using express, next.js, hono, fastify, polka, or connect. The tool handles WebSocket proxying in addition to standard HTTP requests and supports request and response interception for manipulation. Path filtering can use strings, globs, or custom functions to determine which requests to proxy, and path rewriting allows URL transformation before forwarding.

The project maintains active development with regular updates and documentation for multiple major versions. The codebase is written in TypeScript, providing type safety for users. The tool includes a plugin system allowing extensibility through custom middleware, and comprehensive examples and recipes are provided in the repository to guide adoption.