connectrpc/connect-es
View on GitHub ↗ ★ 1,831 TypeScript
The TypeScript implementation of Connect: Protobuf RPC that works.
5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2022-08-04 · latest 2023-01-03
20082026
-
As for better gRPC-web, you might want to look into connect-web https://github.com/bufbuild/connect-web
comment by Palmik · 2023-01-03 · in Ask HN: Why isn't JSON-RPC more widely adopted? -
They already have! Connect ( https://github.com/bufbuild/connect-web ) is what you're looking for, as it's grpc-web compatible.
comment by conroy · 2022-10-31 · in Protobuf-ES: Protocol Buffers TypeScript/JavaScript runtime -
protobuf-es does as well! https://github.com/bufbuild/connect-web
comment by bufbuild · 2022-10-31 · in Protobuf-ES: Protocol Buffers TypeScript/JavaScript runtime -
…:) I'm curious: Can you say more about why you ported the code generator from Go to TypeScript ( https://github.com/bufbuild/connect-web/commit/8002c2696aad0... )? Was it is easier to generate code this way, or did it just get too unwieldy…
comment by grosskur · 2022-08-05 · in Connect-Web: TypeScript library for calling RPC servers from web browsers -
Ye, fwiw there is an example code size comparison here: https://github.com/bufbuild/connect-web/blob/main/packages/c... I'm sure someone will chime in on the implementation details, but hopefully others can give it a try with their…
comment by mf192 · 2022-08-04 · in Connect-Web: TypeScript library for calling RPC servers from web browsers