본문으로 건너뛰기

EngineInfo

Defined in: impl/js/src/types.ts:108

Which engine build is loaded, for diagnostics (xl3#103). Hosts report this alongside a bad conversion so "which xl3 produced this?" has an answer that does not depend on the host tracking it separately.

Properties

PropertyTypeDescriptionDefined in
backend"wasm" | "js"Which backend an engine: 'auto' call resolves to right now: 'wasm' when the optional xl3-wasm dependency loads and instantiates, 'js' otherwise. This reports what is available, not what ran. 'auto' still falls back to the JS path per-call when a template uses a feature outside the wasm engine's support matrix, so a 'wasm' answer does not mean every conversion took that path. It describes the .xlsx source path only: convertJson / previewJson always run the JS engine (they reject engine: 'wasm' outright), so a JSON-source host can see 'wasm' here while none of its conversions use it.impl/js/src/types.ts:124
versionstringThe package version — same value as the VERSION export.impl/js/src/types.ts:110