Skip to content
Sheetwrite

@sheetwrite/core

InitSheetwriteOptionsinterface

Report a problem

On this page

What initSheetwrite loads: the engine, where its WASM comes from, and the add-ons it installs.

Members

Properties

optional

Engine module; defaults to @sheetwrite/wasm. Pass @sheetwrite/formulas for the full engine.

source?: BufferSource | URL | string | Request | WebAssembly.Module;

optional

Explicit WASM bytes or location, for bundlers that cannot resolve the engine asset.

addons?: readonly SheetwriteAddon[];

optional

Add-ons to install, in this order, after the engine loads. A name listed twice rejects; a name installed by an earlier call is kept.

Declaration

View full TypeScript declaration
export interface InitSheetwriteOptions {
engine?: SheetwriteEngine;
source?: BufferSource | URL | string | Request | WebAssembly.Module;
addons?: readonly SheetwriteAddon[];
}

Referenced by

Public exports naming InitSheetwriteOptions