http-proxy-middleware@4.2.0
// The one-liner node.js proxy middleware for connect, express, next.js and more
$ npm install http-proxy-middleware
downloads/wk
24,514,447
license
MIT
version
4.2.0
published
Jul 4, 2026
What is http-proxy-middleware?
http-proxy-middleware is a Node.js middleware that forwards HTTP requests from your application to another server, useful for proxying API calls, handling CORS issues, or routing traffic during development. It works with Express, Next.js, Connect, and other frameworks, and supports both HTTP/HTTPS and WebSocket proxying. Developers use it to redirect requests to backend services without exposing those services directly or to avoid same-origin policy restrictions during local development.
Links
Keywords
Dependencies (5)
Maintainers
chimurai