qmetrics.net

Connect Es

TypeScript Connect RPC clients and servers

Connect Es screenshot

Connect for ECMAScript implements type-safe Protobuf RPC in browsers and Node.js, supporting Connect, gRPC, and gRPC-Web protocols with framework server plugins.

Overview

Connect for ECMAScript is the TypeScript and JavaScript member of the Connect family for building Protobuf-based remote APIs. It targets web browsers and Node.js runtimes and uses Protobuf-ES for schema definitions and generated types.

Services are defined in Protobuf, implemented in TypeScript, and exposed over plain HTTP so requests remain visible to standard tools and curl. The stack implements Connect’s own protocol plus interoperable gRPC and gRPC-Web, enabling calls from diverse clients and languages.

On Node.js you can serve RPCs from a basic HTTP server or through plugins for Fastify, Express, and Next.js API routes. Browser clients work with frameworks such as React, Vue, Svelte, Next.js, and Angular, with tutorials and examples for each.

Ecosystem packages add TanStack Query integration, validation interceptors, and Playwright testing helpers. Maintained Node.js LTS releases and recent baseline browsers are supported under semantic versioning.

Key features

  • Protobuf schema-first RPC
  • Connect, gRPC, and gRPC-Web protocols
  • Browser and Node.js runtimes
  • Fastify, Express, Next.js plugins
  • curl-friendly HTTP RPC
  • Protobuf-ES code generation
  • Connect-Query TanStack integration

Use cases

  • Type-safe web and Node APIs
  • Browser clients for Protobuf services
  • gRPC-Web without a translating proxy
  • Next.js API route RPC backends

Tags

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT