nx-grpc-ts (npm package @lazurdit/nx-grpc) is a TypeScript library that generates gRPC client and server code from Protocol Buffer definitions for use with Nx workspaces. Current stable version is 0.1.196, updated frequently. It aims to simplify integrating gRPC into Nx monorepos by providing code generation and runtime helper utilities. In early development, with potential breaking changes. Not production-ready.
npm install nx-grpc-tsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates loading a .proto file, starting a gRPC server, and making a client call.
Pin exact version in package.json and test upgrades carefully.
Install using 'npm install @lazurdit/nx-grpc'.
Use ES import syntax or set type to module in package.json.
Run 'npm install @grpc/grpc-js protobufjs'.
Install correct package: npm install @lazurdit/nx-grpc
Use ES import: import { NxGrpcServer } from '@lazurdit/nx-grpc'npm install @grpc/grpc-js