Variable: default

February 16, 2026 ยท View on GitHub

quickjs-emscripten


quickjs-emscripten / @jitl/quickjs-ng-wasmfile-debug-sync / default

Variable: default

const default: QuickJSSyncVariant

Defined in: index.ts:18

@jitl/quickjs-ng-wasmfile-debug-sync

Docs | Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.

VariableSettingDescription
libraryquickjs-ngquickjs-ng is a fork of quickjs that tends to add features more quickly. Version v0.12.1 vendored to quickjs-emscripten.
releaseModedebugEnables assertions and memory sanitizers. Try to run your tests against debug variants, in addition to your preferred production variant, to catch more bugs.
syncModesyncThe default, normal build. Note that both variants support regular async functions.
emscriptenInclusionwasmHas a separate .wasm file. May offer better caching in your browser, and reduces the size of your JS bundle. If you have issues, try a 'singlefile' variant.
exportsrequire import browser workerdHas these package.json export conditions