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@v3.12.8/helper/factory/index.ts";

type

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