bomsy / wasmparser

Simple streamable WebAssembly binary parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Simple streamable WebAssembly binary parser.

Test

Compiling Code

npm run build

Examples

See the examples/ folder.

Running Tests

npm test

Creating Tests

Place a .wasm and an associated .wasm.out file in the test directory. The testing harness will compare the parsing output of the .wasm file against the .wasm.out file. You can use the npm test update command to automatically create a .out files. This is useful if you have made a change that affects the tests.

About

Simple streamable WebAssembly binary parser

License:Apache License 2.0


Languages

Language:TypeScript 98.1%Language:JavaScript 1.9%