Skip to content

goodmind/protoapp

Repository files navigation

Protoapp

Travis JavaScript Style Guide standard-readme compliant

Generate SPA from ProtoBuf.js

Generate Angular/React application from Google's Protobuf

Just convert .proto to .json with protobuf.js

Install

$ [sudo] npm i -g protoapp

Usage

Currently only supports Angular 2

$ protoapp -f proto.json -o src

CLI

protobuf.js must be installed globally with npm

$ pbjs ./proto.proto > proto.json
$ protoapp -f proto.json -o src

Contribute

PRs accepted

License

MIT (c) Goodmind