UNPKG

json-2-csv

Version:

A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.

5 lines (4 loc) 169 B
import type { DefaultJson2CsvOptions } from './types'; export declare const Json2Csv: (options: DefaultJson2CsvOptions) => { convert: (data: object[]) => string; };