1 | # GTFS Realtime - PBF JavaScript Module
|
2 |
|
3 | I took the [published GTFS Realtime .proto schema file](https://developers.google.com/transit/gtfs-realtime/gtfs-realtime-proto) and ran it through the [PBF package](https://www.npmjs.com/package/pbf) and am hosting it on a CDN so you don't have to!
|
4 |
|
5 | ## Use them
|
6 |
|
7 | ### NPM
|
8 |
|
9 | *coming soon*
|
10 |
|
11 | ### CDN
|
12 |
|
13 | *coming soon*
|
14 |
|
15 | ## How these were generated
|
16 |
|
17 | 1. Download the [published GTFS Realtime .proto schema file](https://developers.google.com/transit/gtfs-realtime/gtfs-realtime-proto)
|
18 | 2. `npm install pbf -g`
|
19 | 3. `pbf gtfs-realtime.proto > gtfs-realtime.browser.proto.js`
|
20 | 4. `pbf gtfs-realtime.proto --browser > gtfs-realtime.browser.proto.js` |
\ | No newline at end of file |