A simple, stupid gRPC client for Node.js written in TypeScript. Version 1.2.3. Provides a fetch/got-like API for making gRPC calls with support for loading multiple .proto files, automatic message encoding/decoding, unary calls, client streaming, server streaming, and hooks. Differentiates from other gRPC clients by its minimalistic interface and TypeScript support.
npm install cool-grpcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to make a simple unary gRPC call using cool-grpc with a .proto file.
Always pass an array: ['./my.proto'] even for a single file.
Use '0.0.0.0:50051' not 'http://0.0.0.0:50051'.
Migrate from callbacks to await/promises.
Use import { makeRequest } from 'cool-grpc'.Use absolute paths or resolve relative to __dirname: path.join(__dirname, 'my.proto').
Verify the service and method names match exactly as defined in .proto, including casing.