grpc-man is a lightweight gRPC client library for Node.js that allows calling gRPC server methods dynamically at runtime. Version 1.8.0 is the latest stable release, with active maintenance and updates. It supports both programmatic use in JavaScript/TypeScript projects and command-line usage for quick verification of gRPC services. Unlike generated gRPC clients, grpc-man can load .proto files at runtime and invoke methods without code generation, making it ideal for testing and debugging. It ships TypeScript definitions and requires Node.js >=8.9.0.
npm install grpc-manNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates importing GrpcClient, creating a client with endpoint and proto file path, and calling a gRPC method.
Use exact path 'grpc-man/lib/Client' in imports.
Update code: new Client(endpoint, protoPath) instead of passing an object.
Consider switching to '@grpc/grpc-js' and updating the library or using an alternative.
Check proto file for package declaration and include it in the call chain.
For secure connections, use a different gRPC client library that supports credentials.
Use correct import: import GrpcClient from 'grpc-man/lib/Client';
Provide the absolute or correct relative path to the .proto file.
Ensure the gRPC server is started and the endpoint (host:port) is correct.
Inspect the proto file for correct service and method names, and include package prefixes if any.