Generate and process native Excel .xlsx workbooks with the public SDK.
@runstamp/xlsx is an internal binding name and is not published on npm.
Install
npm install @runstamp/sdkRequires Node.js >=18.14.1.
Quick start
import { runstamp } from "@runstamp/sdk";
import { writeFileSync } from "node:fs";
const input = await fetch("https://runstamp.com/demo-evidence/operation-evidence/xlsx/xlsx.render/input.json").then(r => r.json());
const result = await runstamp.operations.run("xlsx.render", input);
if (!result.ok) throw new Error(result.error.message);
writeFileSync("revenue.xlsx", result.value.bytes);Core API (workspace-only)
These engine helpers are for Runstamp workspace development. They are not exports of
@runstamp/sdk, and @runstamp/xlsx is not on npm. SDK users call runstamp.operations.run.
SpreadsheetEngine.render(document, options?): returns aUint8Arrayof the.xlsxfile.SpreadsheetEngine.validateDocument(document): validate against the Zod schema.SpreadsheetEngine.renderValidated(validatedDocument, options?): render a pre-validated document.preflightSpreadsheet(document): run checks before rendering.FormulaEvaluator,F: build and evaluate formulas.
Supports multiple sheets, cell styles, merges, filters, formulas, hyperlinks, and print setup. Output is deterministic.
Commercial boundary
All local XLSX rendering ships in @runstamp/sdk.
Pro adds company-wide production support and commercial assurance, not a
different package or fidelity gate. See License & Pricing.