Skip to main content
The Excel packages are in private preview with alpha customers. Contact us to get access.

Install

For the editor UI, also install the editor package:
The package is ESM only ("type": "module").

Optional modules (Node)

The core package has no native dependencies. PDF and PNG export in Node need two optional peers:
Without them, toPdf and toPng throw an error that names the missing module. Open, edit, calculate and save work without them.

Bundlers

  • @reductoai/xlsx, /officejs, /view and /editor have no Node imports. Vite, webpack and esbuild bundle them for a page with no alias or polyfill.
  • Keep @reductoai/xlsx/node out of client code. It reads and writes files and loads skia-canvas.

Smoke test

Run it with npx tsx smoke.ts (or compile it first). Open hello.xlsx in Microsoft Excel; C1 shows 42.