gRPC Docs is an interactive API documentation component for gRPC APIs, similar to Swagger UI but tailored for gRPC. Version 1.1.4 is the current stable release. It provides a React component that renders documentation from protoc-generated JSON descriptors. Updated occasionally. Key differentiators: supports both self-hosted protoc JSON and GenDocu Cloud service; includes environment and authentication scheme configuration via YAML. Requires React 16+ and Node 10+. It can be used as a standalone widget or integrated with GenDocu CI/CD. The package is primarily used in React applications to document gRPC services.
npm install grpc-docsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic integration of gRPC Docs in a React component with a remote protoc JSON descriptor file.
Use either 'file' for a URL string or 'definition' for a JSON string, not both.
Ensure your project uses React 16 or higher.
Upgrade to Node 12+ for future compatibility.
If using SSR, ensure the component is only rendered on the client side or use dynamic imports.
Use protoc-gen-doc with --doc_opt=json,description.json to generate the correct format.
Use import syntax: import { GRPCSelfGeneratedAPIReference } from 'grpc-docs'Use import syntax or destructure: const { GRPCSelfGeneratedAPIReference } = require('grpc-docs');Run npm install --save grpc-docs and ensure your bundler resolves node_modules.