quick-grpc is a Node.js library (v2.0.0) that simplifies loading and instantiating gRPC services from .proto files. It wraps the official @grpc/grpc-js package to provide a Promise-based API, automatic TLS credential loading, and camelCase method name conversion. Released with moderate frequency, it targets Node.js >=12 and reduces boilerplate for setting up gRPC clients. Unlike raw gRPC, it handles multiple proto files in a directory and returns pre-configured service objects.
npm install quick-grpcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Show how to instantiate quick-grpc with TLS credentials and a proto directory, then log the resulting service objects.
Use require() instead of import.
Always use await when instantiating new QuickgRpc().
Check documentation for updates; consider using grpc.credentials directly.
Explicitly set credentials if secure connection is required.
Use async/await or .then() instead of callbacks.
Use const QuickgRpc = require('quick-grpc')Run npm install protobufjs
Ensure basePath is correct and contains .proto files.
Rebuild: npm rebuild @grpc/grpc-js