gtfs-rb
TypeScript icon, indicating that this package has built-in type declarations

1.2.8 • Public • Published

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

Package Sidebar

Install

npm i gtfs-rb

Weekly Downloads

4

Version

1.2.8

License

MIT

Unpacked Size

287 kB

Total Files

5

Last publish

Collaborators

  • ciolt