grpc-mocky

JSON →
library 0.1.31 ·javascript
verified Jun 7, 2026

grpc-mocky is a JavaScript library for creating mock gRPC servers during development and testing. Version 0.1.31 supports unary, server streaming, client streaming, and duplex streaming methods. It provides a CLI tool to generate mock templates from .proto files and offers a programmatic API to start a mock server with configurable address and port. Ships TypeScript definitions. Key differentiator: lightweight, focused on mocking without requiring full gRPC server setup. Ideal for integration testing and frontend development with gRPC-web.