UNPKG

smart-csv-delimiter

Version:

Intelligent CSV delimiter auto-detection for Node.js - lightweight, fast, and reliable

11 lines 609 B
import { DetectionOptions, DetectionResult } from './types'; export declare class CsvDelimiterDetector { private readonly options; constructor(options?: DetectionOptions); detect(filePath: string): Promise<string | null>; detectWithDetails(filePath: string): Promise<DetectionResult>; private getDelimitersToTest; } export declare function detectDelimiter(filePath: string, options?: DetectionOptions): Promise<string | null>; export declare function detectDelimiterWithDetails(filePath: string, options?: DetectionOptions): Promise<DetectionResult>; //# sourceMappingURL=detector.d.ts.map