
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
db-flix-cities
Advanced tools
Get all DB stations located in the same german city as the given Flix (Flixbus/Flixtrain) station/region, and vice versa.
Get all DB stations located in the same german city as the given Flix (Flixbus/Flixtrain) station or region, and vice versa.
npm install db-flix-cities
Only works for german cities/stations at the moment, other (neighbouring) european countries will hopefully be supported at some point in the future, though.
const adapter = require('db-flix-cities')
This package contains data in the Friendly Public Transport Format.
toDB(flixRegionOrStation) to get all DB stations for a given Flix station or regiontoFlix(dbStation) to get all Flix stations for a given DB stationtoFlixRegions(dbStation) to get all Flix regions for a given DB stationconst adapter = require('db-flix-cities')
adapter.toDB({type: 'region', id: '88'}).then(…) // list of db station objects for flix region Berlin
adapter.toDB({type: 'station', id: '89'}).then(…) // list of db station objects for flix station Bremen
adapter.toDB('89').then(…) // will be interpreted as {type: 'station', id: '89'}
adapter.toFlix({type: 'station', id: '8012666'}).then(…) // list of flix station objects for Potsdam Hbf
adapter.toFlix('8012666').then(…) // will be interpreted as {type: 'station', id: '8012666'}
adapter.toFlixRegions('8002045').then(…) // list of flix region objects for Frankfurt(-Eschersheim)
If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.
FAQs
Get all DB stations located in the same german city as the given Flix (Flixbus/Flixtrain) station/region, and vice versa.
The npm package db-flix-cities receives a total of 0 weekly downloads. As such, db-flix-cities popularity was classified as not popular.
We found that db-flix-cities demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.