sandbox-react/pbf/proto2js
dancingCycle 575461e037 chore(pbf): add gtfs-r js sources 2022-09-13 15:30:00 +02:00
..
doc chore(pbf): add gtfs-r js sources 2022-09-13 15:30:00 +02:00
js chore(pbf): add gtfs-r js sources 2022-09-13 15:30:00 +02:00
proto chore(pbf): add gtfs-r js sources 2022-09-13 15:30:00 +02:00
LICENSE chore(pbf): add gtfs-r js sources 2022-09-13 15:30:00 +02:00
README.md chore(pbf): add gtfs-r js sources 2022-09-13 15:30:00 +02:00

README.md

proto2js

Compile *.proto file to JavaScript module

Table of Contents

  1. General
  2. GTFS Realtime

General

This repository provides three folders for each compilation.

  1. doc: Documentation
  2. proto: Source file
  3. js: 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>

GTFS Realtime