Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including vbb-station-operators with all npm packages installed. Try it out:

var vbbStationOperators = require("vbb-station-operators")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

vbb-station-operators v1.5.0

Which operator services a Berlin public transport station?

vbb-station-operators

Which operator services a Berlin public transport station? Thanks to @poldixd for providing the data!

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

Installing

npm install vbb-station-operators

Usage

const operatedBy = require('vbb-station-operators')

console.log(operatedBy['900000023302']) // U Adenauerplatz
console.log(operatedBy['900000110003']) // S Greifswalder Str.
[{
    id: '796',
    name: 'Berliner Verkehrsbetriebe',
    url: 'http://www.bvg.de',
    timezone: 'Europe/Berlin',
    language: 'de',
    phone: null
}]
[{
    id: '1',
    name: 'S-Bahn Berlin GmbH',
    url: 'http://www.s-bahn-berlin.de',
    timezone: 'Europe/Berlin',
    language: 'de',
    phone: null
}]

Contributing

If you have a question or have difficulties using vbb-station-operators, 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.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free