UNPKG

faster-csv

Version:

Minimal dependency, fast CSV parser and formatter using modern Node.js APIs.

6 lines (5 loc) 236 B
export interface ParseCSVOptions { headers?: boolean; separator?: string; } export declare function parseCSV<T = Record<string, string>>(filePath: string, { headers, separator }?: ParseCSVOptions): AsyncGenerator<T | string[]>;