0.1.0 • Published 7 years ago

find-db-station-by-name v0.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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.