UNPKG

@hendt/xml2json

Version:

Pure javascript XML to JSON converter with zero dependencies.

11 lines (10 loc) 276 B
declare type Options = { aloneValueName?: string; }; /** * Main function. Clears the given xml and then starts the recursion * @param xmlStr * @param options the options */ export default function xml2json(xmlStr: string, options?: Options): any; export {};