| What it is | Backend TypeScript framework with end-to-end type safety, built for Bun | Web framework built on Web Standards | End-to-end typesafe APIs made easy | Fast and low overhead web framework, for Node.js |
| 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
| - 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
| - high throughput, around 79,000 requests per second in its benchmark
- JSON Schema validation and serialization compiled to fast functions
- hooks, decorators and encapsulated plugins
- hundreds of core and community plugins
- Pino logging built in
- TypeScript type declarations and type providers
|