Skip to content
Sheetwrite

@sheetwrite/queries

loadPowerQueryCodecfunction

Report a problem

On this page

Loads the Power Query codec for XLSX import and export. It translates saved queries to M and reads imported M as text; it never evaluates M.

Declaration

function loadPowerQueryCodec(
options?: QueryEngineOptions,
): Promise<PowerQueryCodec>

Parameters

options?: QueryEngineOptionsoptional

Hosts can provide the compiled artifact instead of using browser artifact loading.

Returns

The codec, once the queries WASM is loaded.