A protoc-tools plugin that wraps protoc-gen-grpc-web binary for generating gRPC-Web client code. Current stable version 1.3.2 (npm). Plugin is actively maintained, releases follow protoc-gen-grpc-web updates. Key differentiators: automatic binary download/versioning via npm install, environment variable overrides, seamless integration with @accility/protoc-tools workflow. Ships TypeScript types, requires Node >=14.
npm install protoc-tools-grpc-web-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures protoc-tools with gRPC-Web plugin to generate CommonJS JavaScript stubs and gRPC-Web text mode client code.
Set 'config.protoc-gen-grpc-web-version' in package.json or set 'PROTOC_GEN_GRPC_WEB_VERSION' environment variable.
Unset PROTOC_GEN_GRPC_WEB_VERSION or explicitly set to desired version.
Use ESM import syntax (import * as grpcweb from 'protoc-tools-grpc-web-plugin').
Only use 'next' as a temporary version for testing; pin to a stable version for production.
Run 'npm ci' instead of 'npm install' after changing binary version.
Set environment variable PROTOC_TOOLS_GRPC_WEB_PLUGIN_NO_INSTALL=1 to skip download, then manually place the binary.
Run 'npm install protoc-tools-grpc-web-plugin --save-dev'.
Use 'import * as grpcweb from 'protoc-tools-grpc-web-plugin'' instead of 'import grpcweb from ...'.
Pin a known valid version in package.json config or env var and retry.