Skip to main content

xlmake

Declarative Excel Generation Library

Code that clearly shows the final Excel structure

A1📊

Declarative API

Write code that clearly shows the final Excel structure. Declarative API over imperative for better code readability.

B1📝

Full TypeScript Support

Type-safe with IntelliSense support. Designed for great developer experience.

C1🔗

Method Chaining

Fluent Excel construction with method chaining. Simple and intuitive API to get started quickly.

Quick Start

example.ts
import { xlmake } from "xlmake"

const output = await xlmake()
  .sheet("Sales")
  .table({
    preset: "basic",
    columns: [
      { key: "name", label: "Product" },
      { key: "price", label: "Price" },
      { key: "quantity", label: "Quantity" }
    ],
    data: [
      { name: "Apple", price: 100, quantity: 50 },
      { name: "Orange", price: 80, quantity: 100 },
      { name: "Banana", price: 120, quantity: 30 }
    ],
  }).getNode();
report.xlsxGenerated Output
ABC
1ProductPriceQuantity
2Apple10050
3Orange80100
4Banana12030
Loading...