A NestJS library for centralizing and abstracting gRPC communication between microservices. Current stable version is 1.0.28. It provides tooling to generate TypeScript interfaces from .proto files and simplifies the setup of gRPC clients and servers in NestJS applications. The library is designed for Node.js 20+ and uses protocol buffers for service definitions. It differentiates itself by tightly integrating with NestJS decorators and module system, reducing boilerplate for gRPC microservices.
npm install saas-grpc-libraryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers the gRPC module with a proto file and connection URL in a NestJS app.
Edit the generated file (e.g., src/interface) to export a properly named constant like 'export const protobufPackage = "yourPackage";'
Update Node.js to version 20+.
Use ES module import syntax or set 'type': 'module' in package.json.
Run 'npm install saas-grpc-library' or 'pnpm add saas-grpc-library'.
Ensure you import 'GrpcModule' correctly: import { GrpcModule } from 'saas-grpc-library';Provide the 'package' field matching the proto package name.
No dependency data recorded yet.