vbb-lines-at

5.8.0 • Public • Published

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.

/vbb-lines-at/

    Package Sidebar

    Install

    npm i vbb-lines-at

    Weekly Downloads

    20

    Version

    5.8.0

    License

    ISC

    Unpacked Size

    4.98 MB

    Total Files

    7

    Last publish

    Collaborators

    • derhuerst
    • dorpapst