gRPC-Web client for browsers and Node.js (v0.6.0). Allows making gRPC-Web requests from JavaScript/TypeScript without a proxy. Requires google-protobuf and @types/google-protobuf as peer dependencies. Provides unary, server-streaming, and bidirectional streaming via three API functions. Custom fork by Bloombox. Release cadence: irregular. Unlike grpc-web from improbable-eng, this is a modified version with potential upstream changes.
npm install grpc-web-client-bloomboxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates a unary gRPC-Web call using generated service and message classes.
npm install google-protobuf @types/google-protobuf
Correct: grpc.unary(ServiceMethod, options)
Use import { grpc } from 'grpc-web-client'Always check request is not null before calling cancel.
Ensure you import the generated _pb_service file and pass the correct method (e.g., BookService.GetBook).
Change import to: import { grpc } from 'grpc-web-client'Run: npm install google-protobuf @types/google-protobuf --save