| Features | - type-safe client from the server's router type, no code generation
- queries, mutations and subscriptions
- adapters for Next.js, Express, Fastify, Lambda and Fetch runtimes
- request batching
- input validation with libraries such as Zod
| - service definitions in Protocol Buffers with generated client and server stubs
- unary calls and client, server and bidirectional streaming over HTTP/2
- deadlines, cancellation, retries, request hedging and wait-for-ready
- interceptors, metadata and status codes
- pluggable authentication: TLS, ALTS and OAuth2 tokens
- client-side load balancing, custom name resolution and service config
- health checking, server reflection, compression and keepalive
- OpenTelemetry metrics
- All 9 features
| - End-to-end type safety from route schemas to the Eden client
- Request validation with TypeBox (Elysia.t)
- OpenAPI documentation generated from routes
- Return a string, JSON, a file or a generator to stream
- Built-in WebSocket support
- Plugins, lifecycle hooks and macros
- OpenTelemetry tracing
- Runs on Bun, Node.js, Deno and Cloudflare Workers
| - built on Web Standard Request and Response; zero dependencies
- runs on Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Netlify, AWS Lambda, Lambda@Edge, Azure Functions and Node.js
- RegExpRouter, SmartRouter, LinearRouter and PatternRouter
- hono/tiny preset under 14 kB
- built-in middleware: CORS, CSRF, JWT, JWK, basic and bearer auth, compress, cache, ETag, secure headers, body limit, timeout, logger
- helpers for JSX, streaming, WebSockets, cookies, SSG and testing
- validation middleware and an RPC client with types shared from routes
- create-hono project scaffolder for each runtime
- All 9 features
|