Skip to content
/ gtfs-rb Public

GTFS Realtime bindings generator for Node.js (adapted from Google’s old npm package)

License

Notifications You must be signed in to change notification settings

cscape/gtfs-rb

Repository files navigation

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.)

Releases

No releases published

Packages

No packages published