{"library":"grpc-promise","type":"library","category":null,"description":"A lightweight utility (v1.4.0) that promisifies all gRPC call types (unary, client/server stream, bidirectional stream) for Node.js, providing a unified Promise-based interface over the native callback/event-based gRPC API. It abstracts away the differences between simple and streaming RPCs, allowing developers to use async/await consistently. Last updated in 2019, it works with the original `grpc` package (not `@grpc/grpc-js`) and is in maintenance mode. Key differentiator: eliminates boilerplate for streaming calls by converting them to promise patterns, though newer alternatives like `@grpc/grpc-js` native promises may be preferred.","language":"javascript","status":"maintenance","version":"1.4.0","tags":["javascript","grpc-promise","grpc","promise","promisify","functional"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install grpc-promise","imports":["const grpcPromise = require('grpc-promise');","const grpcPromise = require('grpc-promise'); grpcPromise.promisifyAll(protoDescriptor);","grpcPromise.makeUnaryRequest(client, 'TestSimpleSimple', request, metadata, options);"]},{"cmd":"yarn add grpc-promise","imports":[]},{"cmd":"pnpm add grpc-promise","imports":[]}],"homepage":"https://github.com/carlessistare/grpc-promise#readme","github":"https://github.com/carlessistare/grpc-promise","docs":null,"changelog":null,"pypi":null,"npm":"grpc-promise","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}