gRPC framework for Egg.js (v1.0.14, last release unknown, low activity). Extends Egg.js with gRPC+Protobuf support, allows using Egg middleware and plugins with gRPC, supports both HTTP and gRPC requests sharing controllers and services. Alternative to manually setting up gRPC with Egg; uniquely integrates gRPC routing into Egg's router. Note: repository archived or unmaintained since 2019. Requires Node >=12.
npm install egg-grpc-frameworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up an Egg.js project using egg-grpc-framework, configures gRPC server on port 50051, defines a gRPC route and a controller.
Consider alternative like manually integrating @grpc/grpc-js with Egg.
Ensure no other framework is set; test thoroughly.
Stick with CommonJS require for now.
Ensure .proto files are placed in app/proto/ and loaded correctly.
Run 'npm install egg-grpc-framework --save' and ensure package.json has 'egg': { 'framework': 'egg-grpc-framework' }.Verify package.json has the egg.framework field, and that egg-grpc-framework is installed.
Change gRPC port in config/config.default.js or kill the process using the port.
No dependency data recorded yet.