mirror of
https://github.com/kennethnym/freya
synced 2026-06-23 01:44:55 +01:00
feat/combine-tfl-feed-items
TflSource.fetchItems() now returns one TflStatusFeedItem with an alerts array instead of separate items per line disruption. Signals use the highest severity. Alerts sorted by station distance. Co-authored-by: Ona <no-reply@ona.com>
aelis
To install dependencies:
bun install
Packages
@aelis/source-tfl
TfL (Transport for London) feed source for tube, overground, and Elizabeth line alerts.
Testing
cd packages/aelis-source-tfl
bun run test
Fixtures
Tests use fixture data from real TfL API responses stored in fixtures/tfl-responses.json.
To refresh fixtures:
bun run fetch-fixtures
Description
Languages
TypeScript
97.4%
Nix
0.8%
Shell
0.7%
CSS
0.5%
JavaScript
0.4%
Other
0.2%