JSPM

  • Created
  • Published
  • Downloads 2239
  • Score
    100M100P100Q116758F
  • License Apache-2.0

Access Node Protobuf

Package Exports

  • @onflow/protobuf

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@onflow/protobuf) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Versioning

The version of this package reflects the version of the AccessAPI spec for which it supports.

Generating Protobuf Files

To generate the js-protobuf files, run the following command in the root of this package:

protoc --plugin="protoc-gen-ts=./node_modules/.bin/protoc-gen-ts" --js_out="import_style=commonjs,binary:src/generated" --ts_out="service=grpc-web:src/generated" -I ./src/proto ./src/proto/flow/**/*.proto;