Files
Jake Teton-LandisandGitHub d50fce7fbe Cloudflare worker support (#133)
* 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
2023-12-29 18:38:05 +00:00

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)