
tRPC
TypeScript library for building and consuming end-to-end typesafe APIs without schemas or code generation.
tRPC is a TypeScript library for building and consuming end-to-end typesafe APIs without schemas or code generation. It is installed from npm as two packages, @trpc/server and @trpc/client. The docs say it combines concepts from REST and GraphQL, and that it can run standalone or be mounted as an endpoint on an existing REST API.
The server side has adapters for Express, Fastify, Next.js, AWS Lambda and the Fetch API, and a standalone Node.js adapter. Subscriptions run over WebSockets or HTTP streams.
Worth knowing
The quickstart requires TypeScript and recommends strict mode in tsconfig.json.
Identity
- Status
- Active
- Maintainer
- Alex Johansson4
- Maintained by
- Individual4
- First release
- 20207
Rendering and deploy
- Install with
- npm6
Releases
Adoption
Sources
- 2026-11-16: links, License model
trpc.io/ - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/trpc/trpc - 2026-11-16: links, Categories
github.com/trpc/trpc/blob/main/README.md - 2026-11-16: Maintainer, Maintained by
github.com/trpc/trpc/blob/main/LICENSE - 2026-11-16: Runtime
trpc.io/docs/server/adapters/standalone - 2026-11-16: Install with
trpc.io/docs/quickstart - 2026-11-16: First release
api.github.com/repos/trpc/trpc/releases?per_page=100 - 2026-11-16: Current major version, Last release
api.github.com/repos/trpc/trpc/releases/latest - 2026-11-16: Contributors
api.github.com/repos/trpc/trpc/contributors?per_page=1 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@trpc/server