componentize-qjs-cli 0.2.1

CLI for converting JavaScript to WebAssembly components using QuickJS
Documentation
1
2
3
4
5
6
7
8
9
10
// Implement the math interface
function add(a, b) {
    return a + b;
}

function multiply(a, b) {
    return a * b;
}

export const math = { add, multiply };