dancingCycle fec5224f71 | ||
---|---|---|
doc | ||
js | ||
proto | ||
LICENSE | ||
README.md |
README.md
proto2js
Compile *.proto file to JavaScript module
Table of Contents
General
This repository provides three folders for each compilation.
doc
: Documentationproto
: Source filejs
: Result file
The tool used for compilation is called pbf and installed in a global fashion like this.
$ npm install -g pbf
A compilation is done by calling the following instruction.
pbf ./proto/<file.proto> > ./js/<file.js>