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
The All-in-One Commerce Platform for Businesses - Shopify Icon
The All-in-One Commerce Platform for Businesses - Shopify

Shopify offers plans for anyone that wants to sell products online and build an ecommerce store, small to mid-sized businesses as well as enterprise

Shopify is a leading all-in-one commerce platform that enables businesses to start, build, and grow their online and physical stores. It offers tools to create customized websites, manage inventory, process payments, and sell across multiple channels including online, in-person, wholesale, and global markets. The platform includes integrated marketing tools, analytics, and customer engagement features to help merchants reach and retain customers. Shopify supports thousands of third-party apps and offers developer-friendly APIs for custom solutions. With world-class checkout technology, Shopify powers over 150 million high-intent shoppers worldwide. Its reliable, scalable infrastructure ensures fast performance and seamless operations at any business size.
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