vbb-lines-at

Which lines run at a VBB station?

Usage no npm install needed!

<script type="module">
  import vbbLinesAt from 'https://cdn.skypack.dev/vbb-lines-at';
</script>

README

vbb-lines-at

Which lines run at a station? The data is computed from open GTFS data.

npm version ISC-licensed support me via GitHub Sponsors chat with me on Twitter

Installing

npm install vbb-lines-at

Usage

require('vbb-lines-at')['900000007103'] // U Voltastr.

It will return lines in the Friendly Public Transport Format.

[
    {
        type: 'line',
        id: '17525_400',
        name: 'U8',
        mode: 'train',
        product: 'subway'
    }, {
        type: 'line',
        id: '17472_700',
        name: 'N8',
        mode: 'bus',
        product: 'bus'
    }, {
        type: 'line',
        id: '17363_700',
        name: '247',
        mode: 'bus',
        product: 'bus'
    }
]

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.