Given a stop ID, get the main station ID.
npm install db-main-station-of
const mainStationOf = require('db-main-station-of')
mainStationOf['8089083'] // Berlin Spandau (S)
// 8010404 (Berlin Spandau)
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.