ludus/build/ludus.mjs
2024-06-07 11:42:11 -04:00

10 lines
180 B
JavaScript

import init from "./out.mjs"
const mod = await init()
export function run (source) {
const result = mod.ludus(source).value
console.log(result)
return JSON.parse(result)
}