Connects browser JavaScript to gRPC services via a WebSocket proxy server (v0.3.1). Requires a running GRPC Bus WebSocket Proxy Server. Differentiates from other gRPC-Web libraries by using raw WebSockets instead of HTTP/2, enabling simple proxy setups. Release cadence is low; last release was 2018. Supports standard gRPC unary calls with proto file/service mapping.
npm install grpc-bus-websocket-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to WebSocket proxy, maps proto service, and makes a unary gRPC call.
Consider using @grpc/grpc-js or grpc-web for modern gRPC-Web support.
Set up and run https://github.com/gabrielgrant/grpc-bus-websocket-proxy-server
Run ./node_modules/protobufjs/bin/pbjs <protofile> > compiled.json, then pass 'compiled.json' to GBC constructor.
npm install grpc-bus-websocket-client
Use require('grpc-bus-websocket-client') instead of import.