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

x/hono/router.ts>Router

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
interface Router
import { type Router } from "https://deno.land/x/hono@v4.1.0/router.ts";

Properties

name: string

Methods

add(
method: string,
path: string,
handler: T,
): void
match(method: string, path: string): Result<T>