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

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

Ultrafast web framework for the Edges
Very Popular
Go to Latest
variable middleware
import { middleware } from "https://deno.land/x/hono@v3.7.0-rc.1/helper/factory/index.ts";

type

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