UNPKG
vbb-disruptions
Version:
latest (0.3.1)
0.3.1
0.2.0
0.1.0
Disruptions in VBB public transport.
github.com/derhuerst/vbb-disruptions
derhuerst/vbb-disruptions
vbb-disruptions
/
index.js
10 lines
(6 loc)
•
234 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
const
sbahn =
require
(
'./sbahn'
)
const
bvg =
require
(
'./bvg'
)
const
disruptions
= (
) =>
Promise
.
all
([
sbahn
(),
bvg
()]) .
then
(
(
both
) =>
both[
0
].
concat
(both[
1
]))
module
.
exports
=
Object
.
assign
(disruptions, {sbahn, bvg})