Skip to content

TypoKit

Write the type once. TypoKit generates your routes, handlers, validators, clients, and tests — all from a single schema definition.

Define your API contract once as a TypeScript type. TypoKit’s Rust-powered build pipeline compiles it into route handlers, request validators, typed clients, and contract tests — with zero runtime overhead. Ship production-ready APIs in minutes, not days.

Schema-First Types

Define your entire API surface as TypeScript interfaces. Routes, params, bodies, and responses are all derived from a single source of truth — no drift, no duplication.

Rust Build Pipeline

A compiled Rust transform parses your schemas and generates optimized route tables, validators, and serializers. Incremental builds keep feedback loops fast.

Pluggable Server Adapters

Run on Express, Fastify, Hono, or Node’s native HTTP — swap adapters with a one-line config change. Your handler code stays the same.

Auto-Generated Tests

Contract tests are generated alongside your routes. Every endpoint is verified against its schema automatically — catch regressions before they ship.

AI-Native Debugging

Built-in observability and a debug plugin give AI agents structured context about your API. Traces, metrics, and error diagnostics are machine-readable by default.

Type-Safe Client SDK

Generate a fully typed client from your API schema. Works with React Query, SWR, or vanilla fetch — with autocomplete for every route and parameter.

Cross-Language Codegen

Generate a complete Rust/Axum server from your TypeScript types. The same schema that drives your Node.js API can produce a high-performance Rust backend — no manual translation required.

Define a type. Get everything else for free.

types.ts
export interface UserRoutes {
"GET /users": {
response: { id: string; name: string; email: string }[];
};
"GET /users/:id": {
params: { id: string };
response: { id: string; name: string; email: string };
};
"POST /users": {
body: { name: string; email: string };
response: { id: string; name: string; email: string };
};
}

Framework Users

Teams building Node.js APIs who want type safety without boilerplate. If you’re tired of keeping your routes, validators, and client SDKs in sync — TypoKit does it for you.

AI Agent Developers

Build APIs that AI agents can discover, understand, and interact with. TypoKit generates machine-readable docs, structured error responses, and OpenTelemetry traces by default.