db-main-station-of

Given a stop ID, get the main station ID.


Keywords
station, stop, id, main, hafas, db, deutsche-bahn, public-transport, transit
License
ISC
Install
npm install db-main-station-of@1.34.0

Documentation

db-main-station-of

Given a stop ID, get the main station ID.

npm version build status ISC-licensed chat with me on Gitter support me on Patreon

Installation

npm install db-main-station-of

Usage

const mainStationOf = require('db-main-station-of')

mainStationOf['8089083'] // Berlin Spandau (S)
// 8010404 (Berlin Spandau)

Contributing

If you have a question or have difficulties using db-main-station-of, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.