The Excel packages are in private preview with alpha customers. Contact us to get access.
Install
"type": "module").
Optional modules (Node)
The core package has no native dependencies. PDF and PNG export in Node need two optional peers:toPdf and toPng throw an error that names the missing module. Open, edit, calculate and save work without them.
Bundlers
@reductoai/xlsx,/officejs,/viewand/editorhave no Node imports. Vite, webpack and esbuild bundle them for a page with no alias or polyfill.- Keep
@reductoai/xlsx/nodeout of client code. It reads and writes files and loadsskia-canvas.
Smoke test
npx tsx smoke.ts (or compile it first). Open hello.xlsx in Microsoft Excel; C1 shows 42.