1.0.2 • Published 6 years ago

grpc-proto-js-generator v1.0.2

Weekly downloads
11
License
ISC
Repository
github
Last release
6 years ago

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

  1. git clone git@github.com:gkartalis/grpc-proto-js-generator.git
  2. cd grpc-proto-js-generator && npm i
  3. mkdir proto && mkdir src/proto
  4. cp ${Your .proto path location} proto/ to copy the proto file inside proto folder
  5. npm run proto
  6. inside gprc-proto-js-generator/src/proto you'll find the javascript generated files