mirror of
https://github.com/hanzoai/quickjs-emscripten.git
synced 2026-10-30 19:37:29 +00:00
* working wrangler demo * improve worker example code quality * add helpers for cloudflare support * document cloudflare, deno, esmodule * deno smoketest file * doc cleanup * expand loader docs * test minimal example in CI * rebuild docs * document minimal size
8 lines
278 B
JavaScript
8 lines
278 B
JavaScript
import { newQuickJSWASMModuleFromVariant } from "quickjs-emscripten-core"
|
|
import RELEASE_SYNC from "@jitl/quickjs-wasmfile-release-sync"
|
|
|
|
/**
|
|
* Export the QuickJSWASMModule instance as a singleton.
|
|
*/
|
|
export const QuickJS = await newQuickJSWASMModuleFromVariant(RELEASE_SYNC)
|