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

x/hono/mod.ts>Hono#use

Ultrafast web framework for Cloudflare Workers, Deno, Bun, and Node.js. Fast, but not only fast.
Extremely Popular
Go to Latest
method Hono.prototype.use
Re-export
import { Hono } from "https://deno.land/x/hono@v3.0.0-rc.10/mod.ts";

Type Parameters

optional
Path extends string = string
optional
Data = unknown

Parameters

...middleware: Handler<Path, E, Data>[]

Returns

Hono<E, P, S>

Type Parameters

optional
Path extends string = string
optional
Data = unknown

Parameters

arg1: string
...middleware: Handler<Path, E, Data>[]

Returns

Hono<E, P, S>