/Knowledge/sources/honojs__hono/llms-full/routers-patternrouter--01a344a18a07.md
Routers: PatternRouter - hono-docs
Routers: PatternRouter Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt patternrouter Summary PatternRo...
Routers: PatternRouter
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#patternrouter
Summary
PatternRouter is the smallest router among Hono's routers. While Hono is already compact, if you need to make it even smaller for an environment with limited resources, use PatternRouter. An application using only PatternRouter is un...
Content
PatternRouter is the smallest router among Hono's routers.
While Hono is already compact, if you need to make it even smaller for an environment with limited resources, use PatternRouter.
An application using only PatternRouter is under 15KB in size.
$ npx wrangler deploy --minify ./src/index.ts
⛅️ wrangler 3.20.0
-------------------
Total Upload: 14.68 KiB / gzip: 5.38 KiB
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#patternrouter",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Routers > PatternRouter",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 547,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Routers: PatternRouter",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}