Files
time_to_leave/packages/core/src/index.ts
T
fegger 04e793cbb8 Implement journey ranking and improve UI presentation
Add `rankJourneys` utility to score connections based on arrival fit,
directness, and duration. Update `JourneyList` to display the best option
first with a "Top" badge and allow expanding to see more. Fix HAFAS
parser to include train direction in journey details. Limit API result
count to 5 and add TypeScript declaration for PNG assets.
2026-05-14 17:05:56 +02:00

12 lines
346 B
TypeScript

// ── Re-exports ──
// Barrel file: import everything from `@timetoleave/core` in one go.
export * from './types';
export * from './countdown-utils';
export * from './formatting';
export * from './status-utils';
export * from './hafas-time';
export * from './hafas-parser';
export * from './defaults';
export * from './journey-scoring';