3.1.8 • Published 1 year ago

grpc-instrumentum v3.1.8

Weekly downloads
3
License
MIT
Repository
github
Last release
1 year ago

grpc-instrumentum

npm version npm downloads

A set of tools to simplify working with protoc

Install

npm i grpc-instrumentum

Usage

grpc-gen-js

$ grpc-gen-js --js_out=import_style=commonjs,binary:./tests/generated/client --grpc_out=./tests/generated/client -I ./tests/protos greeter.proto

grpc-gen-ts

$ grpc-gen-ts --ts_out=./tests/generated/client -I ./tests/protos greeter.proto

grpc-gen-ts

grpc-gen-client --help
grpc-gen-client.js [options] <protoFile>

Produces clients for all services from given proto file

Options:
  --help         Show help               [boolean]
  --version      Show version number     [boolean]
  -i, --include  Include directory         [array]
  -o, --out      Output directory         [string] [default: Currnt working directory]
$ grpc-gen-client --out ./tests/generated/client --include ./tests/protos/ greeter.proto
3.1.8

1 year ago

3.1.7

2 years ago

3.0.7

3 years ago

3.0.6

3 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago