Skip to main content

typed-api-spec

TypeScript based declarative API specification and zero-runtime client

Easy to Use

All you need is TypeScript

typed-api-spec's API definition schema is built on top of TypeScript, so you can use the full power of the type system

Focus on What Matters

type-safe, zero-runtime client

typed-api-spec provides type-safe, 0kb bundle size API client. You can use it with zero-runtime, zero-overhead, zero-dependency and zero-learning-cost (because it is just fetch!).

Powered by React

Framework-agnostic

typed-api-spec does not require any other dependencies. It supports server frameworks(e.g. Express, Fastify) and validation libraries)(e.g. zod, valibot), but these are optional and you can use only those you need.