Hono - means flame๐ฅ in Japanese - is a small, simple, and ultrafast web framework built on Web Standards. It works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Netlify, AWS Lambda, Lambda@Edge, and Node.js.
Features
- Ultrafast ๐ - The router RegExpRouter is really fast. Not using linear loops. Fast.
- Lightweight ๐ชถ - The hono/tiny preset is under 14kB. Hono has zero dependencies and uses only the Web Standards.
- Multi-runtime ๐ - Works on Cloudflare Workers, Fastly Compute, Deno, Bun, AWS Lambda, or Node.js. The same code runs on all platforms.
- Batteries Included ๐ - Hono has built-in middleware, custom middleware, third-party middleware, and helpers. Batteries included.
- Delightful DX ๐ - Super clean APIs. First-class TypeScript support. Now, weโve got โTypesโ.
Use-cases
Hono is a simple web application framework similar to Express, without a frontend. But it runs on CDN Edges and allows you to construct larger applications when combined with middleware. Here are some examples of use-cases.
- Building Web APIs
- Proxy of backend servers
- Front of CDN
- Edge application
- Base server for a library
- Full-stack application