Comparing version 4.4.0 to 4.5.0
{ | ||
"name": "vbb-lines", | ||
"description": "VBB lines and their stations.", | ||
"version": "4.4.0", | ||
"version": "4.5.0", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
# vbb-lines 🚏 | ||
A **collection of all lines (and their stations) of the [Berlin Brandenburg public transport service (VBB)](http://www.vbb.de/)**, computed from [open](https://daten.berlin.de/datensaetze/vbb-fahrplandaten-mitte-juli-2018-bis-mitte-dezember-2018) [GTFS](https://developers.google.com/transit/gtfs/) [data](https://vbb-gtfs.jannisr.de/). | ||
A **collection of all lines (and their stations) of the [Berlin Brandenburg public transport service (VBB)](http://www.vbb.de/)**, computed from [open](https://daten.berlin.de/datensaetze/vbb-fahrplandaten-gtfs) [GTFS](https://developers.google.com/transit/gtfs/) [data](https://vbb-gtfs.jannisr.de/). | ||
@@ -42,3 +42,3 @@ [](https://www.npmjs.com/package/vbb-lines) | ||
lines(true, '15296_700').then(console.log) // query a single line | ||
lines({type: 'bus'}).on('data', console.log) // filter lines | ||
lines({mode: 'bus'}).on('data', console.log) // filter lines | ||
lines('all').on('data', console.log) | ||
@@ -60,3 +60,3 @@ ``` | ||
- `'all'` | ||
- an object like `{type: 'bus', agencyId: '47'}`, with each property being mandatory | ||
- an object like `{mode: 'bus', agencyId: '47'}`, with each property being mandatory | ||
@@ -63,0 +63,0 @@ |
Sorry, the diff of this file is not supported yet
4604324