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

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

Ultrafast web framework for the Edges
Very Popular
Go to Latest
class TrieRouter
implements Router<T>
import { TrieRouter } from "https://deno.land/x/hono@v3.4.3/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> | null