{"library":"grpc-mock","type":"library","category":null,"description":"grpc-mock is a simple mock gRPC server for Node.js, providing a declarative API for defining request-response rules and streaming behaviors. It supports unary, client-streaming, server-streaming, and bidirectional streaming RPCs, as well as error simulation. Version 0.7.0 is the latest release; the package is stable but not frequently updated. It relies on grpc-kit and @grpc/proto-loader for loading .proto files and creating servers. Key differentiators: lightweight, rule-based matching with regex support, and simple stream chunk configuration.","language":"javascript","status":"active","version":"0.7.0","tags":["javascript","grpc","mock"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install grpc-mock","imports":["import { createMockServer } from 'grpc-mock'","const { createMockServer } = require('grpc-mock')"]},{"cmd":"yarn add grpc-mock","imports":[]},{"cmd":"pnpm add grpc-mock","imports":[]}],"homepage":"https://github.com/YoshiyukiKato/grpc-mock#readme","github":"https://github.com/YoshiyukiKato/grpc-mock","docs":null,"changelog":null,"pypi":null,"npm":"grpc-mock","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}