ludus/build/ludus.mjs

9 lines
158 B
JavaScript
Raw Normal View History

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