node package manager

vbb-lines-at

vbb-lines-at

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

npm version build status dependency status dev dependency status ISC-licensed gitter channel

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.