quickjs-emscripten • @jitl/quickjs-wasmfile-release-sync • Readme | Exports
quickjs-emscripten / @jitl/quickjs-wasmfile-release-sync
const
default:QuickJSSyncVariant
Docs | Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.
Variable | Setting | Description |
---|---|---|
library | quickjs | The original bellard/quickjs library. Version 2024-02-14+36911f0d vendored to quickjs-emscripten on 2024-06-15. |
releaseMode | release | Optimized for performance; use when building/deploying your application. |
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