{"library":"grpc-web","type":"library","category":null,"description":"grpc-web is the JavaScript client runtime library that enables browser-based applications to communicate with gRPC services. It functions by connecting to gRPC services through a specialized gateway proxy, such as Envoy, which has built-in gRPC-Web support. The current stable version is 2.0.2, with recent releases addressing bug fixes and minor improvements, including TypeScript compatibility updates. The project maintains a steady release cadence for bug fixes and incremental features. Key differentiators include its focus on browser environments, robust TypeScript support for generated client stubs, and the reliance on `protoc` and `protoc-gen-grpc-web` for generating client code and message definitions from `.proto` files, providing a full-stack gRPC experience for web clients.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install grpc-web","imports":["import {EchoServiceClient} from './generated/echo_grpc_web_pb';","import {EchoRequest} from './generated/echo_pb';","import * as grpcWeb from 'grpc-web';","import * as grpcWeb from 'grpc-web'; /* ... */ (err: grpcWeb.RpcError) => { /* ... */ }"]},{"cmd":"yarn add grpc-web","imports":[]},{"cmd":"pnpm add grpc-web","imports":[]}],"homepage":"https://grpc.io/","github":"https://github.com/grpc/grpc-web","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/grpc-web","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/grpc-web/compatibility"}}