Made for Humans
A small, fully typed API keeps routes, plugins, schemas, and handlers predictable across a growing service.
Build type-safe HTTP services faster. Typed service tools for stable APIs, handlers, and product backends.
Teakit keeps the API compact while still covering schemas, lifecycle hooks, plugins, OpenAPI docs, WebSockets, tests, and custom parsers.
A small, fully typed API keeps routes, plugins, schemas, and handlers predictable across a growing service.
Return a string, object, file, redirect, or error from the handler and let the framework shape the response.
Infer server contracts into clients so TypeScript catches mismatches before the request is sent.
Contract
Use route schemas on the server, export the application type, and let client calls stay aligned with the same contract.
Read kernels docsclient.ts
import { edenTreaty } from "@teakit/eden";import type { App } from "./server"; const eden = edenTreaty<App>("http://localhost");await eden.user.age.patch({ name: "saltyaom", age: 21,}); Plugins
Use Application to define HTTP methods, path parameters, groups, guards, schemas, and lifecycle hooks.
Compose plugins for docs, cookies, CORS, logging, auth, GraphQL, static files, sessions, and more.
Generate OpenAPI specs or share the application type with Eden clients for one connected type system.