UNPKG

@iwsio/json-csv-node

Version:

ESM/CJS module that easily converts JSON to CSV. This package supports streaming and buffered conversion to CSV.

8 lines (7 loc) 476 B
export { buffered, stream, checkOptions } from './exporter.cjs'; declare const _default: { buffered: (data: Record<string, any>[], options?: Partial<import("./exporter.cjs").NodeExportOptions>) => Promise<string>; stream: (opts?: Partial<import("./exporter.cjs").NodeExportOptions>) => import("stream").Transform; checkOptions: (opts?: Partial<import("./exporter.cjs").NodeExportOptions>) => import("./exporter.cjs").NodeExportOptions; }; export default _default;