curated documentation
for AI coding agents
Ergonomic TypeScript framework for humans. Bun-optimized with end-to-end type safety, OpenAPI generation from TypeScript, and plugin support. Also runs on Node.js.
Get started with Elysia: installation, routing, handlers, and lifecycle events.
Event-based middleware system: onRequest, beforeHandle, afterHandle, and onResponse hooks.
Plugin ecosystem overview including auth, CORS, Swagger, and GraphQL plugins.
Type-safe RPC client that generates client-side types directly from server route definitions.