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

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

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

type

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