Components
Overview
The four free Liasse components — pure functions that produce themed document trees.
Each component is a pure function (input) => Document built on the
@liasse/core DSL. Render the result with any adapter (e.g. @liasse/xlsx).
import { financialTable } from "@liasse/components";
import { render } from "@liasse/core";
import "@liasse/xlsx";
const doc = financialTable({ /* … */ });
const bytes = await render(doc, { format: "xlsx" });financial-table
Totals, currency formatting and positive/negative conditional coloring.
invoice
Issuer header, line items and a VAT breakdown by rate.
dashboard-export
KPIs as key/value blocks followed by one or two tables.
multi-sheet-report
A summary sheet that aggregates one sheet per section.
Install any of them into your repo with the CLI:
npx liasse add financial-table invoice dashboard-export multi-sheet-report