cyboard-bahn-widget
v0.0.5
Published
Cyboard Widget to display arrival times of the Deutsche Bahn
Downloads
3
Readme
#Cyboard Bahn Widget
This module displays upcomming arrival times of the Deutsche Bahn.
##How to use
- install the cyboard wallboard:
npm install cyboard
- install the plugin
npm install cyboard-bahn
- add it to your wallboard and style it
##Example
var server = require('cyboard')(),
board = server.createBoard('Team A');
board.addWidget('bahn', {
top: 1,
left: 1,
width: 6,
height: 2,
connections: [{
start: 'Köln-Ehrenfeld',
stop: ['Paderborn Hbf', 'Hamm(Westf)']
}]
});
server.listen(3000, function() {
console.info("Server listening on http://localhost:%s", 3000);
});
###Upcomming
- writing tests
- add translations