Hono: The Ultra-Fast Web Framework for Edge, Bun, Deno, and Node
Hono's RegExpRouter allocates zero objects per request and runs identically on Cloudflare Workers, Bun, Deno, and Node - here is why teams are choosing it over Express.
Hono (Japanese for "flame") is a web framework that runs on any JavaScript runtime. It was built from the ground up for the Edge, which means it has zero Node.js dependencies, a 14KB bundle size, and a router that makes zero allocations per request.
The Router
Hono's RegExpRouter compiles all routes into a single regular expression at startup. At request time, one regex match finds the handler with zero object allocations:
import { Hono } from "hono";
const app = new Hono();
app.get("/users/:id", (c) => {
const id = c.req.param("id");
return c.json({ id });
});
app.post("/users", async (c) => {
const body = await c.req.json();
return c.json({ created: body }, 201);
});
export default app;
Benchmark against Express (Node.js, same hardware): Hono handles ~300,000 req/s vs Express at ~65,000 req/s.
Team workspace
Ship faster with chat, meetings, and projects in one place — Zlyqor.
Practical deep-dives on LLMs, developer tools, and AI engineering. No filler. Unsubscribe any time.
// written byFIG. AUTH-01
530
Mahmudul Haque Qudrati
CEO & ML Engineer
CEO and ML Engineer at Pristren. Builds AI-powered software for teams and writes about machine learning, LLMs, developer tools, and practical AI applications.