tRPC
End-to-end typesafe APIs made easy

import type
declaration is fully erased at runtime. tRPC transforms this type into a fully typesafe client.🧙♂️ Automatic typesafety
Automatic typesafety & autocompletion inferred from your API-paths, their input data, & outputs.
🍃 Light & Snappy DX
No code generation, run-time bloat, or build pipeline. Zero dependencies & a tiny client-side footprint.
🐻 Add to existing brownfield project
Easy to add to your existing brownfield project with adapters for Connect/Express/Next.js.