A lightweight TypeScript library that wraps Google's gRPC server to simplify starting a gRPC server. Version 0.7.1 requires Node >=16.13.0. It reduces boilerplate by providing a concise API for server configuration and startup, while still leveraging the full gRPC framework. Unlike full-featured frameworks, it focuses on minimal setup for quick prototyping and microservices.
npm install minimal-grpc-serverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a gRPC server with a proto file, add a service implementation, and start listening.
Await server.start() or use .then().
Replace 'insecure: true' with 'tls: false'.
Explicitly set 'tls: true' and provide certificates for production use.
Ensure you are using >=0.5.0 and importing named export: import { GrpcServer } from 'minimal-grpc-server'npm install @grpc/grpc-js
Ensure @grpc/proto-loader is installed and the proto file exists at the given path.