@oniryk/xlsx
Version:
A lightweight, efficient TypeScript library for generating single-sheet Excel XLSX files with support for large datasets
9 lines (8 loc) • 350 B
TypeScript
/**
* Converts a zero-based column index to an Excel column name
* Generates column names in the format A, B, C, ..., Z, AA, AB, etc.
*
* @param index - Zero-based index of the column (0 = A, 1 = B, etc.)
* @returns Excel-style column name (e.g., 'A' for 0, 'B' for 1, 'AA' for 26)
*/
export declare function columnName(index: number): string;