Last Updated: 3/11/2026
Presets
Hono provides presets with different routers for common use cases. The Hono class is the same across all presets—only the router differs.
hono (Default)
import { Hono } from 'hono'Router: SmartRouter with RegExpRouter and TrieRouter
Best for: Most use cases, long-life servers (Deno, Bun, Node.js), Cloudflare Workers, Deno Deploy
Characteristics:
- Fastest performance after initialization
- Slower registration phase
- Ideal for persistent v8 isolates
hono/quick
import { Hono } from 'hono/quick'Router: SmartRouter with LinearRouter and TrieRouter
Best for: Environments where the application initializes on every request
Characteristics:
- Fast registration phase
- Optimized for “one shot” situations
hono/tiny
import { Hono } from 'hono/tiny'Router: PatternRouter
Best for: Resource-limited environments
Characteristics:
- Smallest bundle size (under 15KB)
- Minimal memory footprint
Which Preset Should I Use?
| Preset | Use When |
|---|---|
hono | Most applications - Cloudflare Workers, Deno, Bun, Node.js, Fastly Compute |
hono/quick | Application initializes per request (AWS Lambda cold starts) |
hono/tiny | Extremely limited resources, smallest possible bundle |
Custom Router
Specify a custom router:
import { Hono } from 'hono'
import { RegExpRouter } from 'hono/router/reg-exp-router'
const app = new Hono({ router: new RegExpRouter() })