db-vendo-client/p/vbb
2022-11-22 21:09:06 +01:00
..
base.json adapt VBB profile to server changes 2021-09-21 14:32:16 +02:00
example.js docs: fix profile imports in code examples 📝 2022-11-22 21:09:06 +01:00
index.js convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
parse-loc-dhid.js convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
products.js convert to ESM 💥📝 2022-11-18 19:20:03 +01:00
readme.md docs: fix profile imports in code examples 📝 2022-11-22 21:09:06 +01:00

VBB profile for hafas-client

Verkehrsverbund Berlin-Brandenburg (VBB) is a group of public transport companies, running the public transport network in Berlin. This profile adds VBB-specific customizations to hafas-client. Consider using vbb-hafas, to always get the customized client right away.

Usage

import {createClient} from 'hafas-client'
import {profile as vbbProfile} from 'hafas-client/p/vbb/index.js'

// create a client with VBB profile
const client = createClient(vbbProfile, 'my-awesome-program')

Customisations

  • parses VBB-specific products (such as X-Bus)
  • renames Ringbahn line names to contain and