find-db-station-by-name
v0.1.0
Published
Try to find a DB station by its name.
Downloads
5
Maintainers
Readme
find-db-station-by-name
Try to find a DB station by its name. Pulls the data from db-stations
.
Installing
npm install find-db-station-by-name
Usage
const findStation = require('find-db-station-by-name')
findStation('Ahrensfelde') === '8011003' // upper case
findStation('albstadt lautlingen') === '8000475' // spaces vs. dashes
findStation('agathenbrug') === '8000434' // typo
findStation('alt hüttendorf') === '8011011' // umlauts
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.