Overview of Hono Features
mainHono is designed for speed, small footprint, and multi-runtime compatibility:
- Ultrafast: Uses high-performance routers like
RegExpRouterinstead of linear loops. - Lightweight: The
hono/tinypreset is under 12kB. It has zero dependencies and relies solely on Web Standard APIs. - Multi-runtime: The same codebase runs on Cloudflare Workers, Fastly Compute, Deno, Bun, AWS Lambda, Lambda@Edge, and Node.js.
- Batteries Included: Provides built-in middleware, support for custom middleware, and third-party middleware.
- Delightful DX: Offers clean APIs and first-class TypeScript support.