Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mdv-lines

juliuste18ISCdeprecated1.0.0

WARNING: This package is unmaintained and might be broken. If you would like to maintain it, please contact mail@juliustens.eu

List of MDV (Mitteldeutscher Verkehrsverbund) lines.

mdv, public, transport, lines, mitteldeutscher, verkehrsverbund, germany, leipzig, sachsen, halle

readme

mdv-lines

List of MDV (Mitteldeutscher Verkehrsverbund) lines, including line colors.

npm version Build Status Greenkeeper badge dependency status dev dependency status license chat on gitter

Installation

npm install --save mdv-lines

Usage

const lines = require('mdv-lines')

console.log(lines)

Gives you an array of line objects which looks as follows:

[
    {
        "name": "10",
        "operator": "HAVAG", // please note that this is not necessarily a real operator, e.g. some lines are 'operated' by "VBB"
        "easygoId": 114,
        "color": "#336633", // can be null
        "mode": "train",
        "subMode": "tram"
    },
    {
        "name": "35",
        "operator": "HAVAG",
        "easygoId": 112,
        "color": "#0066CC",
        "mode": "bus",
        "subMode": "bus"
    }
    // …
]

Contributing

If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.