Module

x/hono/router/trie-router/index.ts>TrieRouter

Fast, Lightweight, Web-standards
Very Popular
Go to Latest
class TrieRouter
implements Router<T>
import { TrieRouter } from "https://dotland.deno.dev/x/hono@v4.1.0/router/trie-router/index.ts";

Constructors

new
TrieRouter()

Properties

name: string
node: Node<T>

Methods

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