1.1 Overview
ExcelSheet is a thin wrapper around an
ExcelJS.Worksheet that provides:
- Convenience methods for adding single or multiple rows.
- Styling helpers (border, font, fill, alignment, generic style).
- Merging cells and freezing panes.
- Exporting the sheet to JSON where the first row is treated as the header for object keys.
import ExcelFile from "@ckn-technology/data";
const wb = new ExcelFile.Workbook();
const ws = wb.addWorksheet("Data");
const sheet = new ExcelFile.ExcelSheet(ws);