@mindfiredigital/pivothead
Version:
PivotHead is a powerful and flexible library for creating interactive pivot tables in JavaScript applications. It provides a core engine for data manipulation and, in the future, will be compatible with wrappers for React, Vue, Svelte, and Angular, making
18 lines • 664 B
TypeScript
import type { CSVParseOptions, DataRecord } from '../../types/interfaces';
/**
* Parses CSV text into array of objects
*/
export declare function parseCSV(text: string, options: CSVParseOptions): DataRecord[];
/**
* Parses a single CSV line handling quoted values
*/
export declare function parseCsvLine(line: string, delimiter: string): string[];
/**
* Converts string values to appropriate data types
*/
export declare function convertValue(value: string): unknown;
/**
* Process CSV data to normalize and prepare it for the pivot engine
*/
export declare function processCSVData(data: DataRecord[]): DataRecord[];
//# sourceMappingURL=csvParser.d.ts.map