Registry / testing / grpc-devtool

grpc-devtool

JSON →
library0.0.10jsnpmunverified

A CLI tool and library for recording, playing back, and monitoring gRPC traffic. Current version 0.0.10 (pre-beta, WIP). It uses YAML config files to define endpoints, matchers, and response templates, and supports sessions and Docker. Useful for testing and stubbing gRPC services without real backends. Early stage with limited documentation.

npm install grpc-devtool
INSTALL
IMPORT
SIG · GRPC-DEVTOOL
G
grpc-devtool
testingjavascriptv0.0.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Install globally, set up project with protos, and start recording/monitoring gRPC traffic.

#!/bin/bash npm install -g grpc-devtool mkdir my-stub && cd my-stub mkdir -p config greet prices # create proto files and config/grpc.yaml, then run: grpc create --protos ./protos grpc record grpc start --port 50055
Debug
Known issues
gotchaPackage is pre-beta (v0.0.10). APIs and CLI interface may change without notice.
fix
Pin to exact version and test thoroughly.
affects: <1.0.0
Errors
Common errors & fixes
Cannot find module 'grpc'
Missing peer dependency grpc
fix
npm install grpc
Upgrade
Version history
0.0.10latest on npm
Audit
Dependencies
grpcrequiredCore gRPC runtime dependency
Agent activity
6 hits · last 30 days
node
6
Resources
grpc-devtool — npm install grpc-devtool · libregistry