This version of the module is deprecated: This package is deprecated. moonbit-community/proton_ext should be preferred.
Extensions for proton examples and applications.
import {
"justjavac/proton"
"justjavac/proton_ext/fs" @fs
"justjavac/proton_ext/path" @path
}
async fn main {
@proton.html("Demo", "<html></html>", width=900, height=700, debug=true)
.extension(@fs.extension())
.extension(@path.extension())
.run_or_abort()
}await window.__MoonBit__.fs.readFile("demo.txt");
await window.__MoonBit__.path.resolve({ path: "." });
window.__MoonBit__.events.on("fs.activity", console.log);Install
Download zipExtensions for proton examples and applications.