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
5 lines
181 B
TypeScript
Executable File
5 lines
181 B
TypeScript
Executable File
#!/usr/bin/env -S deno run --allow-read --unstable-byonm
|
|
import { getQuickJS } from "npm:quickjs-emscripten"
|
|
const QuickJS = await getQuickJS()
|
|
console.log(QuickJS.evalCode("1+1"))
|