BloomRPC-Mock is a command-line utility and toolset library for automatically mocking gRPC services based on .proto files. The current stable version is 0.3.4, released as an early-stage project. It reads a protobuf definition and starts a gRPC server that responds with default mock data for all defined RPC methods. Key differentiators include being a simple CLI tool (built with oclif) that requires zero configuration, support for client-side and bi-directional streaming, and automatic generation of mock responses. However, it is still experimental with missing features like custom mock responses.
npm install bloomrpc-mockNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a sample protobuf service, starts the mock gRPC server, and demonstrates basic interaction.
Check the GitHub issues or roadmap before relying on advanced features.
Upgrade Node.js to LTS version (>=18).
Use absolute or relative path to the .proto file: npx bloomrpc-mock ./path/to/service.proto
Currently only default mocks are supported. Consider contributing or waiting for a future release.
Install globally: npm i -g bloomrpc-mock, or use npx: npx bloomrpc-mock
Provide the correct path to the .proto file, e.g., npx bloomrpc-mock ./proto/service.proto
Specify a different port using the --port flag: npx bloomrpc-mock --port 4000
No dependency data recorded yet.