3.1.8 • Published 2 years ago

grpc-instrumentum v3.1.8

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years 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

2 years ago

3.1.7

3 years ago

3.0.7

4 years ago

3.0.6

4 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

6 years ago

2.0.3

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago