UNPKG

bods-data-extractor

Version:

Convert BODS UK dataset bus line data from XML to JSON

14 lines 630 B
import type { BodsOutput } from './types/bods.ts'; /** * Main function to convert BODS XML file to JSON structure * @param inputFilePath - Path to the input XML file * @returns Structured BODS data object with separated journeys */ export declare function convertBodsXmlToJson(inputFilePath: string): BodsOutput; /** * Converts BODS XML string content to JSON structure (browser-friendly) * @param xmlContent - XML content as string * @returns Structured BODS data object with separated journeys */ export declare function convertBodsXmlStringToJson(xmlContent: string): BodsOutput; //# sourceMappingURL=converter.d.ts.map