@aklinker1/zeta
v2.2.0
Published
Composable, testable, OpenAPI-first backend framework with validation built-in
Maintainers
Readme
Zeta
Composable, fast, testable, OpenAPI-first backend framework with validation built-in.
// main.ts
import { createApp } from "@aklinker1/zeta";
import { zodSchemaAdapter } from "@aklinker1/zeta/adapters/zod-schema-adapter";
import { z } from "zod";
const app = createApp({
schemaAdapter: zodSchemaAdapter,
}).get(
"/hello",
{
operationId: "sayHello",
summary: "Say Hello",
description: "A simple hello world example",
response: z.object({ message: z.string() }),
},
() => ({ message: "Hello world!" }),
);
app.listen(3000);bun run main.ts
deno run --allow-net main.tsFeatures
- ✅ Standard schema support (Zod, Arktype, Valibot, etc)
- 🧩 Composable apps, plugins, and routes
- 🤖 Type-safe server and client side code
- ❄️ WinterCG compatible
- 🧪 Easy to test
- 📄 OpenAPI docs built-in
Docs
Visit https://zeta.aklinker1.io for the full documentation.
