grpc-proto-js-generator
v1.0.2
Published
> This repo generates the Javascript code from a .proto file. > It consists of a previous version of **ts-protoc-gen** npm package that supported JS code generation from a .proto file. > In the latest version of this package only TypeScript code generatio
Downloads
9
Readme
gprc-proto-js-generator
This repo generates the Javascript code from a .proto file. It consists of a previous version of ts-protoc-gen npm package that supported JS code generation from a .proto file. In the latest version of this package only TypeScript code generation is available.
Instructions to auto - generate JS code from .proto file
- git clone [email protected]:gkartalis/grpc-proto-js-generator.git
- cd grpc-proto-js-generator && npm i
- mkdir proto && mkdir src/proto
- cp ${Your .proto path location} proto/ to copy the proto file inside proto folder
- npm run proto
- inside gprc-proto-js-generator/src/proto you'll find the javascript generated files