584 B
584 B
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 tools 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 instructions.
pbf ./proto/<file.proto> > ./js/<file.js>