qmetrics.net

Connect for ECMAScript

TypeScript Connect RPC clients and servers

Connect for ECMAScript 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

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Next.js

React framework for full-stack web applications

Next.js lets you build full-stack web apps by extending React and integrating Rust-based JavaScript build tooling.

★ 143.8k⟳ todayMIT

React Native

Cross-platform native mobile framework using React

React Native lets developers build Android and iOS interfaces with React components rendered through native platform APIs. JavaScript changes can refresh quickly during development.

★ 127k⟳ todayMIT

Electron

Cross-platform desktop application framework for web technologies

Electron lets developers build desktop applications with JavaScript, HTML, and CSS. It combines Node.js and Chromium so web code can run as native apps on major operating systems.

★ 124.1k⟳ 2 days agoMIT

Node.js

Cross-platform open-source JavaScript runtime environment

Node.js is an open-source, cross-platform JavaScript runtime. It lets developers create servers, web apps, command line tools, and scripts.

★ 124k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app