Command Palette

Search for a command to run...

position in category
#10

TypeScript-first RPC framework for building end-to-end type-safe APIs between client and server. Delivers full type inference across the boundary with no code generation, schemas, or build steps, so developers get autocompletion and compile-time checks as if calling local functions.

Trusted by Fortune 500 companies and popular among full-stack TypeScript teams, including the t3 stack ecosystem. tRPC stands out versus REST, which has no native type sharing, and GraphQL, which requires schema definitions and codegen. It uses the router type directly for client inference, eliminating the traditional API contract layer.

Key capabilities:

  • End-to-end TypeScript type inference for procedures, inputs, outputs, and errors
  • No code generation, OpenAPI schemas, or build pipeline
  • Framework-agnostic with adapters for React, Next.js, Express, Fastify, AWS Lambda, Solid, and Svelte
  • Request batching and WebSocket subscriptions
  • Composable procedures and routers with Zod or similar for input validation

Ideal for full-stack TypeScript apps in monorepos where Next.js, React, or other frontends talk to Node backends. Teams adopting tRPC can replace hand-written REST or GraphQL layers with procedures that feel like an SDK, while integrating with Prisma, Drizzle, and common React data-fetching patterns.

GitHub Repositories
89
-11.9%
Trending down this week
Removed in 12 repos