Bay Area Rapid Transit (BART) is the rapid transit public transportation system serving the San Francisco Bay Area. This profile adds BART support to hafas-client
.
import {createClient} from 'hafas-client'
import {profile as bartProfile} from 'hafas-client/p/bart/index.js'
const userAgent = 'link-to-your-project-or-email' // adapt this to your project!
// create a client with BART profile
const client = createClient(bartProfile, userAgent)