# chimurai/http-proxy-middleware

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

Repository: https://github.com/chimurai/http-proxy-middleware
Canonical: https://ross.abutalabs.com/products/http-proxy-middleware
Language: TypeScript
License: MIT
License Family: permissive
Topics: javascript, proxy-middleware, http-proxy, proxy, middleware, nodejs, browser-sync, connect, express, websocket, node, polka, fastify, nextjs, httpxy, hono
Last push: 2026-08-19T09:33:09+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 91, longevity 100
- inputs: {"age_days": 4190, "days_push": 14, "days_rel": 60, "gap_med": 4, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11134, forks 879 (observed 2026-08-28T04:10:46.181318+00:00)

## What it is
A Node.js middleware library for proxying HTTP requests, wrapping the httpxy proxy engine in a simple one-liner API. It integrates with connect-compatible servers such as Express, Next.js, Hono, Fastify, and Polka, with support for WebSockets and path filtering.

## Use cases
- proxy /api requests to a backend server during development
- add a reverse proxy to an express app
- avoid CORS issues by proxying frontend API calls
- proxy websocket connections through a node server
- route specific paths to different backend services
- set up a dev server proxy for next.js

## When to choose
- you need request proxying inside a connect/express/next.js middleware stack
- you want a simple, well-maintained reverse proxy with path filtering and WebSocket support
- you need to bypass CORS in local development

## When to avoid
- you need a full standalone reverse proxy server rather than middleware (use nginx or Caddy)
- your app does not run on a connect-compatible Node.js server
- you need advanced load balancing or TLS termination features

## Facets
- artifact type: library
- maturity: stable
- function: middleware, proxy, http-server, websocket, routing
- domain: web-development, backend, apis, developer-tools
- platform: cross-platform
- tags: reverse-proxy, express, nextjs, connect, hono, fastify, cors, dev-server, nodejs

## Member repositories
- chimurai/http-proxy-middleware (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.181318+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:16:46.140087+00:00, confidence not recorded.
  - readme: https://github.com/chimurai/http-proxy-middleware (fetched 2026-08-28T04:10:46.181318+00:00, sha dfb779c6015c)
  - registry_npm: https://registry.npmjs.org/http-proxy-middleware (fetched 2026-08-29T08:15:39.421045+00:00, sha 88e438bdaf6c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
