tRPC
End-to-end typesafe RPC library for TypeScript monorepos that shares router types directly between server and client without code generation.
ID: tech:trpc | Kind: library | Latest: v11.32.2 | License: MIT | Verified: 2026-12-01
When to use
- Both backend and frontend are written in TypeScript within a shared monorepo or shared type-only package.
- You want instant autocomplete, refactoring safety, and request batching without maintaining OpenAPI or GraphQL codegen pipelines.
When to avoid
- Public third-party developers or non-TypeScript services (Go, Python, Swift) must consume the API as its primary contract.
- You need standard REST resource semantics, HTTP caching by arbitrary CDN keys, or polyglot gRPC contracts.