Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

vbb-lines-at

4.2.0 • Public • Published

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 support me on Patreon

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.

Install

npm i vbb-lines-at

DownloadsWeekly Downloads

12

Version

4.2.0

License

ISC

Unpacked Size

3.01 MB

Total Files

7

Last publish

Collaborators

  • avatar