Hono is a small web framework built on Web Standards that runs on Cloudflare Workers, Deno, Bun, Node.js, AWS Lambda, and other JavaScript runtimes with the same application code.
Overview
Hono is a web framework designed to be small, simple, and fast while relying on Web Standard APIs rather than runtime-specific interfaces. The same application code is intended to run across Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, Lambda@Edge, and Node.js.
Routing uses RegExpRouter and related router implementations tuned for speed instead of linear path scanning. A hono/tiny preset keeps bundle size small with zero dependencies. Built-in middleware, custom middleware, and third-party middleware are included so common HTTP concerns can be added without bolting on a separate stack.
The API is clean with first-class TypeScript support. Documentation is published on hono.dev, and projects can be scaffolded via npm create hono. Communication channels include X and Discord for community discussion.
Middleware and helpers are treated as part of the core experience, making Hono a batteries-included option for edge and serverless HTTP services as well as conventional Node deployments.
Key features
- Multi-runtime Web Standards core
- Fast RegExp-based routing
- Tiny preset under small bundle size
- Built-in and third-party middleware
- First-class TypeScript support
- Zero runtime dependencies
- Edge and serverless compatibility
- npm create hono scaffolding
Use cases
- Edge HTTP APIs on Workers
- Portable serverless handlers
- Lightweight Node.js web services
- TypeScript microframework projects