@ecsbase/export
v0.2.0
Published
@ecsbase/export — reusable building block.
Readme
@ecsbase/export
Async XLSX export utility — lazy-loads ExcelJS only when invoked.
Install
pnpm add @ecsbase/exportPeer dependencies
@angular/core^20.0.0exceljs^4.0.0
Quick start
import { exportToXlsx } from '@ecsbase/export';
await exportToXlsx({
filename: 'orders.xlsx',
sheets: [{ name: 'Orders', rows: [{ id: 1, total: 42 }] }],
});Playground
Live demo: /export — run pnpm start:playground then visit http://localhost:4200/export.
License
MIT — see LICENSE at the repository root.
