Skip to main content

Hono

Ultrafast web framework built on Web Standards

Hono means flame 🔥 in Japanese. It’s a small, simple, and ultrafast web framework that works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, and Node.js.

Fast, but not only fast

Hono is designed to be ultrafast with zero dependencies, using only Web Standard APIs. The router RegExpRouter is incredibly fast, avoiding linear loops entirely.
import { Hono } from 'hono'

const app = new Hono()

app.get('/', (c) => c.text('Hono!'))

export default app

Key Features

Ultrafast

The RegExpRouter is blazing fast. No linear loops. Just speed.

Lightweight

The hono/tiny preset is under 12kB with zero dependencies. Uses only Web Standard APIs.

Multi-runtime

Works on Cloudflare Workers, Fastly Compute, Deno, Bun, AWS Lambda, Lambda@Edge, and Node.js.

Batteries Included

Built-in middleware, custom middleware, and third-party middleware support.

Delightful DX

Super clean APIs with first-class TypeScript support and type inference.

Web Standards

Built on Web Standards. No proprietary APIs. Write once, run anywhere.

Quick Start

Get started with Hono in seconds using the scaffolding tool:
npm create hono@latest
This will guide you through creating a new Hono project with your preferred runtime and template.

Why Hono?

Hono works on any JavaScript runtime because it’s built entirely on Web Standards. The same code runs on Cloudflare Workers, Deno, Bun, Node.js, AWS Lambda, and more without modifications.
Hono’s RegExpRouter doesn’t use linear loops. It compiles routes into optimized regular expressions, making it one of the fastest routers available.
The hono/tiny preset has zero dependencies and is under 12kB. Even the full build is incredibly lightweight because Hono only uses Web Standard APIs.
Hono has first-class TypeScript support with powerful type inference. Get autocomplete for route parameters, request bodies, and more.

Runtime Support

Hono supports all major JavaScript runtimes:
  • Cloudflare Workers - Edge computing platform
  • Cloudflare Pages - JAMstack platform with Functions
  • Deno - Secure TypeScript runtime
  • Bun - Fast all-in-one JavaScript runtime
  • Node.js - Traditional server-side JavaScript
  • AWS Lambda - Serverless compute service
  • Vercel - Frontend cloud platform
  • Netlify - Modern web development platform
  • Fastly Compute - Edge cloud platform

What’s Next?

Quickstart

Build your first Hono app in minutes

Installation

Add Hono to your existing project

Core Concepts

Learn the fundamentals of Hono

API Reference

Explore the complete API documentation

Build docs developers (and LLMs) love