1.0.2 • Published 6 years ago
grpc-proto-js-generator v1.0.2
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 git@github.com: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