{"library":"grpc-web-error-details-bin","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.1.2","tags":["javascript","grpc","grpc-web","error-details","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install grpc-web-error-details-bin","imports":["import { statusFromError } from 'grpc-web-error-details'","import { BadRequest } from 'grpc-web-error-details'","import * as errorDetails from 'grpc-web-error-details'"]},{"cmd":"yarn add grpc-web-error-details-bin","imports":[]},{"cmd":"pnpm add grpc-web-error-details-bin","imports":[]}],"homepage":"https://github.com/Gurnick013/grpc-web-error-details","github":"https://github.com/Gurnick013/grpc-web-error-details","docs":null,"changelog":null,"pypi":null,"npm":"grpc-web-error-details-bin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}