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

x/hono/mod.ts>Hono#route

Ultrafast web framework for the Edges
Extremely Popular
Go to Latest
method Hono.prototype.route
Re-export
import { Hono } from "https://deno.land/x/hono@v3.1.4/mod.ts";

Type Parameters

SubPath extends string
SubEnv extends Env
SubSchema
SubBasePath extends string

Returns

Hono<E, RemoveBlankRecord<MergeSchemaPath<SubSchema, SubPath> | S>, BasePath>

Type Parameters

SubPath extends string

Returns

Hono<E, RemoveBlankRecord<S>, BasePath>