You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 month ago | |
---|---|---|
doc | 10 months ago | |
js | 10 months ago | |
proto | 10 months ago | |
LICENSE | 10 months ago | |
readme.md | 1 month ago |
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>