0.0.6 • Published 7 years ago

@fsenn/mvg-api v0.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

mvg-api

Node API for MVG departures.

Installation

npm install @fsenn/mvg-api

Usage

const mvgApi = require('@fsenn/mvg-api');

mvgApi.getDepartures('Harras', ['ubahn', 'sbahn', 'bus', 'tram']).then(lines => {
    console.log(lines.toString());
});

Output is a list of departures in human readable form.

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style.
Add unit tests for any new or changed functionality. Lint and test your code.