Skip to content
Sheetwrite

Sheetwrite / Documentation

fromXlsxTable@sheetwrite/core

Parse the first sheet of .xlsx bytes into ColumnarData.

Parse the first sheet of .xlsx bytes into ColumnarData. The first parsed row is treated as the header and its cell text becomes each column's key. Numbers stay numbers, date cells use the date-serial convention, strings are verbatim, and empty cells become null.

Declaration

function fromXlsxTable(
data: ArrayBuffer | Uint8Array,
options?: XlsxWorkbookOptions,
): Promise<ColumnarData>