# print-gtfs-rt-cli **Read a [GTFS Realtime (GTFS-RT)](https://gtfs.org/documentation/realtime/reference/) feed from stdin, print human-readable or as JSON.** [![npm version](https://img.shields.io/npm/v/print-gtfs-rt-cli.svg)](https://www.npmjs.com/package/print-gtfs-rt-cli) ![ISC-licensed](https://img.shields.io/github/license/derhuerst/print-gtfs-rt-cli.svg) [![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst) [![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst) ## Installing ```shell npm install -g print-gtfs-rt-cli ``` Or use [`npx`](https://npmjs.com/package/npx). ✨ ## Getting Started With the [example feed `example-feed.pbf`](example-feed.pbf), the first `FeedEntity` can be obtained as JSON and pretty-printed using [`jq`](https://jqlang.github.io/jq/) like this: ```shell print-gtfs-rt ' -fsSL | print-gtfs-rt ``` ## Contributing If you have a question or have difficulties using `print-gtfs-rt-cli`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/print-gtfs-rt-cli/issues). ## Example feed The [example feed `example-feed.pbf`](example-feed.pbf) is taken from [the Swiss open GTFS-RT feed](https://opentransportdata.swiss/en/dataset/gtfsrt), licensed under [their open data license](https://opentransportdata.swiss/en/terms-of-use/).