moonc v1.1.5
Transpile a MoonScript file.
const moonc = // moonc() returns a `ReadableStream` that emits transpiled code. // moonc.promise() resolves with the transpiled code.let lua = await moonc // Both functions work with `ReadableStream` objects, too!