1.2.8 • Published 5 years ago

gtfs-rb v1.2.8

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Node.js GTFS Realtime Bindings

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.

Install

To use the gtfs-rb classes in your own project, you need to first install our Node.js npm package:

npm install gtfs-rb

Example Code

See the examples

Note

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.

Contributing

Please feel free to open a pull request so we can have more examples and better documentation on this project!

LICENSE

MIT © 2019 Cyberscape
Apache 2.0 © 2015 Alphabet Inc. (formerly Google Inc.)