wasm-rquickjs-cli 0.5.3

Tool for wrapping JavaScript modules as WebAssembly components using the QuickJS engine
1
2
3
4
5
6
7

import * as random from 'wasi:random/random@0.2.3';

export const test = (input) => {
    let num = random.getRandomU64();
    return `${input} - ${num}`;
};