{"repo":"connectrpc/connect-es","free":true,"listed":false,"github":"https://github.com/connectrpc/connect-es","clone":"git clone https://github.com/connectrpc/connect-es.git","description":"The TypeScript implementation of Connect: Protobuf RPC that works.","language":"TypeScript","stars":1799,"topics":["grpc-web","protobuf","typescript","grpc","rpc","nodejs","javascript","protoc-plugin","schema","fastify-plugin"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"Connect for ECMAScript Connect is a family of libraries for building type-safe APIs with different languages and platforms. @connectrpc/connect brings them to TypeScript, web browsers, and Node.js. A small example With Connect, we define our schema first: And with the magic of code generation, we can implement and serve our service: Calling an RPC is just as simple. You create a client with your server's URL and call a method: Of course, a plain HTTP server isn't fit for production use! See Connect's server plugins for a guide to production deployment with Fastify, Next.js, Express, and more. Simple, cURL-friendly RPC protocol Unlike REST, the Remote Procedure Calls are type-safe, but they are regular HTTP under the hood. You can see all requests in the network inspector, and you can curl them if you want: Connect uses Protobuf-ES, the only fully-compliant Protobuf JavaScript library. Connect implements three RPC protocols: The widely available gRPC and gRPC-web protocols, and Connect's own protocol, optimized for the web. This gives you unparalleled interoperability across many platforms and languages, with type safety end-to-end. Get started on the web Follow our 10-minute tutorial where we use Vite and React to create a web interface for ELIZA. For other frameworks, such as Svelte , Vue , Next.js and Angular , see our examples. For TanStack Query , see our expansion pack Connect-Query. Get started on Node.js Follow our 10-minute tutorial to spin up a service in Node.js, an","default_branch":null,"files":null,"tree":[],"storefront":"/r/connectrpc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/connectrpc/connect-es/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}