A minimal Node.js helper library for building gRPC microservices, currently at version 1.0.6 (stable, low release cadence). Provides GrpcServer, GrpcService, and GrpcClient abstractions that simplify exposing class methods as gRPC endpoints. Differentiators: automatic method-to-RPC mapping, private method exclusion (underscore-prefixed), and async support. Requires Node >= 8.10 and depends on the `grpc` package. Less flexible than full-featured frameworks like `@grpc/proto-loader` + `@grpc/grpc-js`, but offers a cleaner OOP pattern.
npm install grpc-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows server creation with GrpcServer and GrpcService, plus client call using GrpcClient.
Rename methods to not start with underscore if they should be callable.
Consider migrating to '@grpc/grpc-js' and using '@grpc/proto-loader' directly, as grpc-core is not actively updated.
Use the config property 'onStart' when constructing GrpcServer, not server.on('start', ...).Ensure each .proto file has distinct 'package' declaration.
Always await client.call() or attach .catch().
Run: npm install grpc
Check that the method name in proto (camelCase) matches exactly with class method name, and remove leading underscore.
Use path.join(__dirname, 'relative/path/to/file.proto') for correct resolution.
Ensure server is started before client, and verify host/port values match.