osr-mono/packages/osrl/plugins/csv.d.ts
2025-01-29 17:48:22 +01:00

10 lines
408 B
TypeScript

/**
* Converts CSV to Markdown Table
*
* @param {string} csvContent - The string content of the CSV
* @param {string} delimiter - The character(s) to use as the CSV column delimiter
* @param {boolean} hasHeader - Whether to use the first row of Data as headers
* @returns {string}
*/
export declare function csvToMarkdown(csvContent: string, delimiter?: string, hasHeader?: boolean): string;