/Knowledge/sources/honojs__hono/llms-full/benchmarks-routers--part-02--f209f9c5e1f7.md
Benchmarks: Routers (part 02) - hono-docs
Benchmarks: Routers (part 02) Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt routers Summary ts twosl...
Benchmarks: Routers (part 02)
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#routers
Summary
## Content
```ts twoslash
interface Route {
method: string
path: string
}
// ---cut---
export const routes: Route[] = [
{ method: 'GET', path: '/user' },
{ method: 'GET', path: '/user/comments' },
{ method: 'GET', path: '/user/avatar' },
{ method: 'GET', path: '/user/lookup/username/:username' },
{ method: 'GET', path: '/user/lookup/email/:address' },
{ method: 'GET', path: '/event/:id' },
{ method: 'GET', path: '/event/:id/comments' },
{ method: 'POST', path: '/event/:id/comment' },
{ method: 'GET', path: '/map/:location/events' },
{ method: 'GET', path: '/status' },
{ method: 'GET', path: '/very/deeply/nested/route/hello/there' },
{ method: 'GET', path: '/static/*' },
]
Metadata
{
"chunk_index": 1,
"citation": "https://hono.dev/llms-full.txt#routers",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Benchmarks > Routers (2)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 533,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Benchmarks: Routers (part 02)",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}