Extends yaml-scene to support gRPC calls, mock servers, and documentation generation. Current version 1.1.6 (2024). Designed for testing and mocking gRPC services using YAML-based scenarios. Key differentiator: integrates tightly with yaml-scene ecosystem, enabling full gRPC lifecycle management (call, mock, document) without writing code, via simple YAML definitions. Alternatives like grpc-mock or protobuf-test require programmatic setup.
npm install yas-grpcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install yas-grpc and use it to make a gRPC call in a yaml-scene scenario.
Use absolute paths or paths relative to the scenario file using __dirname or join.
Omit `signature` or use `author` instead.
Update all YAML step keys to use `yas-grpc/` prefix.
Use an absolute path or construct path with __dirname: `${__dirname}/proto/server.proto`.Install yaml-scene and yas-grpc globally: `npm install -g yaml-scene yas-grpc`.
Ensure the step has a `request` field, or check for undefined in your handler.