Compose a shared pipeline
Connect middleware through a chain builder or composition functions around the request lifecycle.
Developer tools / OXOGNET
One request pipeline. Many frameworks.
A universal middleware framework for JavaScript. Compose typed request-processing chains and connect them to Express, Hono, Koa, Fastify, or Fetch-based runtimes.
THE IDEA
OpenMiddleware separates middleware composition from the web framework that runs it. Build a typed chain with request handling, authentication, validation, logging, and other capabilities, then use adapters to connect that chain to your chosen framework or runtime.
WHAT MAKES IT WORK
Connect middleware through a chain builder or composition functions around the request lifecycle.
Use adapters for Express, Hono, Koa, and Fastify, alongside Fetch-based environments.
Work with typed state, built-in middleware, and testing utilities when developing a request pipeline.