This project aims to generate flow annotations for use with Google's JavaScript implementation of Protocol Buffers.
This plugin is in active development, but very volatile. Please do not blindly use output in production, as it may be incomplete or inaccurate.
npm install -g protoc-gen-flow
protoc --js_out=import_style=commonjs,binary:./ --flow_out=./ --proto_path=./test/proto3/src ./test/proto3/src/proto3.proto