quickjs-emscripten • @jitl/quickjs-ng-wasmfile-debug-sync • Readme | Exports
quickjs-emscripten / @jitl/quickjs-ng-wasmfile-debug-sync
const
default:QuickJSSyncVariant
Docs | Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.
Variable | Setting | Description |
---|---|---|
library | quickjs-ng | quickjs-ng is a fork of quickjs that tends to add features more quickly. Version git+7ded62c5 vendored to quickjs-emscripten on 2024-02-12. |
releaseMode | debug | Enables assertions and memory sanitizers. Try to run your tests against debug variants, in addition to your preferred production variant, to catch more bugs. |
syncMode | sync | The default, normal build. Note that both variants support regular async functions. |
emscriptenInclusion | wasm | Has 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. |
exports | require import browser workerd | Has these package.json export conditions |
Generated using typedoc-plugin-markdown and TypeDoc