db-main-station-of

Given a stop ID, get the main station ID.

Usage no npm install needed!

<script type="module">
  import dbMainStationOf from 'https://cdn.skypack.dev/db-main-station-of';
</script>

README

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.