compute-db-station-weight
v4.0.0
Published
Estimate the weight of a DB station using departures.
Downloads
19
Maintainers
Readme
compute-db-station-weight
Estimate the weight of a Deutsche Bahn station using departures. A small wrapper around hafas-estimate-station-weight and hafas-client@6
.
Installing
npm install compute-db-station-weight
Usage
import {computeWeight} = require('compute-db-station-weight')
const leipzigHbf = '8010205'
console.log(await computeWeight(leipzigHbf))
// 951.3
Contributing
If you have a question or have difficulties using compute-db-station-weight
, 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.