npm install protocat
@grpc/grpc-js as a dependency, so no further production dependencies are required.
npm install -D grpc-tools grpc_tools_node_protoc_ts
It is theoretically possible to load
.proto files directly and skip the generation of stubs, but is not currently supported with ProtoCat API. While it is easier to setup, it disables the use of TypeScript's hinting and static code analysis, which cripples one of the core advantages of gRPC: strong contract.
However if you have a use for this feature open an issue.