{"library":"grpc-mocky","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.1.31","tags":["javascript","grpc","grpc-web","grpc-mock","mock","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install grpc-mocky","imports":["import { run } from 'grpc-mocky'","const { run } = require('grpc-mocky')","import type { Proto, Service } from 'grpc-mocky'"]},{"cmd":"yarn add grpc-mocky","imports":[]},{"cmd":"pnpm add grpc-mocky","imports":[]}],"homepage":"https://github.com/activeguild/grpc-mocky/blob/master/README.md","github":"https://github.com/activeguild/grpc-mocky","docs":null,"changelog":null,"pypi":null,"npm":"grpc-mocky","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}