Hera-gRPC is a library built around Node.js gRPC (@grpc/grpc-js) for efficient data transfer in a distributed system without the need of a centralized repository for protocol buffer files (gRPC IDL). It simplifies gRPC service definition and client creation by allowing TypeScript interfaces to be used directly as service definitions, eliminating the need for .proto file management. Version 0.2.5 is the latest stable release, with active development focused on developer experience and TypeScript integration. Unlike standard gRPC implementations that require a centralized .proto repository, Hera-gRPC enables decentralized service definitions, making it ideal for microservices architectures where teams need to independently define and consume gRPC services without sharing protocol buffer files.
npm install hera-grpcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a service interface and create both a server and client without .proto files.
Wrap synchronous code in Promise or use async/await.
Pass an object mapping service names to implementations, not an array.
Use lowercase method names when calling from client, e.g., client.sayhello instead of client.sayHello.
Run 'npm install hera-grpc'
Use 'import { createServer } from 'hera-grpc'' instead of 'require'