UNPKG

@flatfile/plugin-xml-extractor

Version:

A plugin for parsing .xml files in Flatfile.

18 lines (16 loc) 642 B
import { WorkbookCapture } from "@flatfile/util-extractor"; declare function parseBuffer(buffer: Buffer, options?: { separator?: string; attributePrefix?: string; transform?: (row: Record<string, any>) => Record<string, any>; }): WorkbookCapture; export const XMLExtractor: (options?: { separator?: string; attributePrefix?: string; transform?: (row: Record<string, any>) => Record<string, any>; chunkSize?: number; parallel?: number; debug?: boolean; }) => (listener: import("@flatfile/listener").FlatfileListener) => void; export const xmlParser: typeof parseBuffer; //# sourceMappingURL=index.d.ts.map