Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 808 Bytes

readme.md

File metadata and controls

20 lines (12 loc) · 808 Bytes

CFL profile for hafas-client

The Société Nationale des Chemins de Fer Luxembourgeois (CFL) is the national railway company of Luxembourg. This profile adds CFL-specific customisations to hafas-client.

Usage

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

const userAgent = 'link-to-your-project-or-email' // adapt this to your project!

// create a client with CFL profile
const client = createClient(cflProfile, userAgent)

Customisations