This package has been deprecated

Author message:

Deprecated. Use monitor-hafas-cli with record-hafas-data.

hafas-record-delays

4.0.1 • Public • Published

hafas-record-delays

Record delays from hafas-monitor-departures@4 into a LevelDB.

npm version build status ISC-licensed chat with me on Gitter support me on Patreon

Installing

npm install hafas-record-delays

Usage

const recordDelays = require('hafas-record-delays')
 
const monitor = … // create hafas-monitor-departures stream somehow
 
const recorder = recordDelays('path/to/level-db.ldb', monitor)
recorder.on('error', console.error)
recorder.on('stats', console.log)

The stats event comes from hafas-monitor-departures.

Contributing

If you have a question or have difficulties using hafas-record-delays, 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.

Package Sidebar

Install

npm i hafas-record-delays

Weekly Downloads

2

Version

4.0.1

License

ISC

Unpacked Size

8.84 kB

Total Files

9

Last publish

Collaborators

  • derhuerst