A protoc plugin that generates gRPC service clients and message classes for Angular applications from .proto files. Version 1.0.2 is stable; release cadence is irregular. Key differentiator: generates strongly-typed TypeScript code leveraging Angular's HttpClient and RxJS Observables, with built-in support for gRPC-Web, unlike generic protoc-gen-grpc-web which outputs plain JavaScript. The plugin requires protoc and is part of the ngx-grpc ecosystem, which includes packages for client/server communication, message serialization, and testing utilities.
npm install serviceware-protoc-gen-ngNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: generate gRPC client with protoc, import and use in Angular service.
Use @ngx-grpc/protoc-gen-ngx instead.
Add dependencies: @angular/common, @angular/core, rxjs.
Switch to ESM imports and ensure your Angular project is set for ESM.
Use a different gRPC client library for streaming, or wait for later versions.
Install with npm i @ngx-grpc/protoc-gen-ng instead.
npm install @ngx-grpc/core
Ensure protoc output directory matches the import path.
Add GrpcClient to NgModule imports array.
Import GrpcCall from '@ngx-grpc/core', not from the generated package.
Set target: 'es2015' or later, or add 'esm' to library type.