This package is based on Google’s older gtfs-realtime-bindings
and is now supported by Cyberscape
This package provides JavaScript classes generated from the GTFS Realtime Protocol Buffer specification. These classes will allow you to parse a binary Protocol Buffer GTFS Realtime data feed into JavaScript objects.
We use the protobuf.js library for JavaScript Protocol Buffer support.
To use the gtfs-rb
classes in your own project, you need to
first install our Node.js npm package:
npm install gtfs-rb
See the examples
For more details on the naming conventions for the Javascript classes generated from the gtfs-realtime.proto, check out the protobuf.js project which we use to handle our Protocol Buffer serialization.
Please feel free to open a pull request so we can have more examples and better documentation on this project!
MIT © 2019 Cyberscape
Apache 2.0 © 2015 Alphabet Inc. (formerly Google Inc.)