A gRPC wrapper for Node-RED providing both server and client nodes (grpc-server, grpc-register-function, grpc-response, grpc-call). Version 1.2.5 is the latest stable release as of 2024, with moderate release cadence. It allows building gRPC services within Node-RED flows, supporting protocol buffer definitions and bidirectional streaming. Key differentiator: no custom coding required for gRPC integration within Node-RED, unlike using raw grpc-js packages.
npm install node-red-contrib-grpcNo compatibility data collected yet for this library.
Shows how to install and use the gRPC server and client nodes within Node-RED.
Update Node.js to 12+ and Node-RED to 1.x+.
Paste the complete proto definition into the protoFile field of the grpc-server node.
Use grpc-call only for unary calls; implement custom streaming nodes if needed.
Run 'npm install @grpc/grpc-js @grpc/proto-loader' in your Node-RED directory.
Stop the conflicting service or change the port in the grpc-server node configuration.
Verify the proto definition syntax (e.g., correct semicolons, package name, service/message definitions).