UNPKG

@pilag6/csv-downloader

Version:

Lightweight CSV export utility for Vue and React

11 lines (9 loc) 314 B
interface DownloadCSVOptions { headers: string[]; contents: (string | number)[][]; filename?: string; separator?: string; bom?: boolean; } declare function downloadCSV({ headers, contents, filename, separator, bom }: DownloadCSVOptions): void; export { type DownloadCSVOptions, downloadCSV };