npm.io
1.6.1 • Published 1 month agoCLI

@nirguna/parser-wasm

Licence
MIT
Version
1.6.1
Deps
6
Size
17 kB
Vulns
0
Weekly
0
Stars
796

@nirguna/parser-wasm

Parse text representation of wasm to JavaScript:

Install

npm i @nirguna/parser-wasm

API

Input:

(module
    (func $x (export "x") (param $a i32) (param $b i32) (result i32)
        (i32.add $a $b)
    )
)

Output:

export function x(a: i32, b: i32): i32 {
    i32.add(a, b);
}

License

MIT

Keywords