import { type XLSX$Utils } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/sheetjs.ts";
General utilities
Properties
consts: XLSX$Consts
Methods
aoa_to_sheet<T>(data: T[][], opts?: AOA2SheetOpts): WorkSheet
Converts an array of arrays of JS data to a worksheet.
aoa_to_sheet(data: any[][], opts?: AOA2SheetOpts): WorkSheet
json_to_sheet<T>(data: T[], opts?: JSON2SheetOpts): WorkSheet
Converts an array of JS objects to a worksheet.
json_to_sheet(data: any[], opts?: JSON2SheetOpts): WorkSheet
table_to_sheet(data: any, opts?: Table2SheetOpts): WorkSheet
BROWSER ONLY! Converts a TABLE DOM element to a worksheet.
table_to_book(data: any, opts?: Table2BookOpts): WorkBook
sheet_add_dom(): WorkSheet
sheet_to_json<T>(worksheet: WorkSheet, opts?: Sheet2JSONOpts): T[]
Converts a worksheet object to an array of JSON objects
sheet_to_json(worksheet: WorkSheet, opts?: Sheet2JSONOpts): any[][]
sheet_to_json(worksheet: WorkSheet, opts?: Sheet2JSONOpts): any[]
sheet_to_csv(worksheet: WorkSheet, options?: Sheet2CSVOpts): string
Generates delimiter-separated-values output
sheet_to_formulae(worksheet: WorkSheet): string[]
Generates a list of the formulae (with value fallbacks)
encode_range(r: Range): string
cell_set_number_format(cell: CellObject, fmt: string | number): CellObject
Set number format for a cell
sheet_add_aoa(): WorkSheet
sheet_add_json<T>(): WorkSheet