Open navigation menu

Hono

Ultrafast web framework for Cloudflare Workers, Deno, Bun, and Node.js with type-safe routing and middleware.

Version: v4.4

Official Documentation ↗

Installation

npmnpm install hono
pnpmpnpm add hono

Methods

FAQ

What runtimes does Hono support?
Hono runs on Cloudflare Workers, Deno, Bun, and Node.js (via @hono/node-server). The same code works across all runtimes with zero changes, making it ideal for edge deployment.
How fast is Hono?
Hono is one of the fastest web frameworks. On Cloudflare Workers, it handles requests in ~1ms overhead. On Bun, it benchmarks faster than Express, Fastify, and even native Bun.serve for complex routing.
Does Hono have built-in validation?
Yes, via @hono/zod-validator or @hono/valibot. These middleware validate request body, query, and headers using Zod or Valibot schemas, automatically returning 400 on invalid input.