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
11 lines
293 B
TypeScript
Executable File
11 lines
293 B
TypeScript
Executable File
#!/usr/bin/env -S npx tsx
|
|
import * as sh from "./helpers"
|
|
|
|
const target = sh.resolve(__dirname, "../examples/deno")
|
|
sh.installDependencyGraphFromTar(target, "quickjs-emscripten", {
|
|
fromRegistry: true,
|
|
install: "npm install",
|
|
remove: "npm remove",
|
|
})
|
|
sh.exec(`cd ${target} && ./main.ts`)
|