grpc-web-error-details

JSON →
library 1.1.2 ·javascript
verified Jun 7, 2026

Utility function for deserializing `grpc-status-details-bin` metadata on grpc-web to access richer gRPC error details (protobuf messages) in browser clients. Current stable version is 1.1.2. Release cadence is low; the library is stable and rarely updated. Key differentiator: unlike the official grpc-web library which only supports standard error model, this library provides `statusFromError` to extract structured error details (e.g., BadRequest, RetryInfo) comparable to server-side gRPC libraries. ESM-only; requires `google-protobuf` and `grpc-web` as peer dependencies. Ships TypeScript type definitions.