Io - Table
API reference — the Table doors of @huukhanhnguyen/io: readers, writers and their option / result types, all on this page.
import { tablesToXlsx, tableToCsv } from '@huukhanhnguyen/io'Source: ./table. See all formats or the Guide.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
tablesToXlsx
function
tablesToXlsx(sheets: Worksheet[]): Uint8ArraytableToCsv
function
tableToCsv(columns: string[], rows: string[][]): stringtableToPdf
function
tableToPdf(columns: string[], rows: string[][], options?: TablePdfOptions): Uint8Array