Skip to content

derhuerst/find-db-station-by-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

find-db-station-by-name

Try to find a DB station by its name. Pulls the data from db-stations.

npm version build status ISC-licensed chat on gitter

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.