tRPC allows you to easily build & consume fully typesafe APIs, without schemas or code generation. As TypeScript and static typing increasingly become a best practice in web programming, the API presents a major pain point. We need better ways to statically type our API endpoints and share those types between our client and server (or server-to-server). We set out to build a simple library for building typesafe APIs that leverage the full power of modern TypeScript. Introducing RPC! Automatic type safety & autocompletion are inferred from your API paths, their input data, & outputs. No code generation, run-time bloat, or build pipeline. Zero dependencies & a tiny client-side footprint. Easy to add to your existing brownfield project with adapters for Connect/Express/Next.js. Currently, GraphQL is the dominant way to implement typesafe APIs in TypeScript (and it's amazing!).

Features

  • Well-tested and production ready
  • Full static typesafety & autocompletion on the client, for inputs, outputs and errors
  • Snappy DX - No code generation, run-time bloat, or build pipeline
  • Light - tRPC has zero deps and a tiny client-side footprint
  • Easy to add to your existing brownfield project
  • Subscriptions support

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow tRPC

tRPC Web Site

Other Useful Business Software
Simplify Purchasing For Your Business Icon
Simplify Purchasing For Your Business

Manage what you buy and how you buy it with Order.co, so you have control over your time and money spent.

Simplify every aspect of buying for your business in Order.co. From sourcing products to scaling purchasing across locations to automating your AP and approvals workstreams, Order.co is the platform of choice for growing businesses.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tRPC!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

2022-03-15