Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/helper/factory/index.ts>createMiddleware

Fast, Lightweight, Web-standards
Very Popular
Go to Latest
variable createMiddleware
import { createMiddleware } from "https://deno.land/x/hono@v4.0.1/helper/factory/index.ts";

type

<E extends Env = any, P extends string = any, I extends Input = { }>(middleware: MiddlewareHandler<E, P, I>) => unknown