npm.io
5.11.1 • Published 2 years agoCLI

wasmparser

Licence
Apache-2.0
Version
5.11.1
Deps
1
Size
1.1 MB
Vulns
0
Weekly
0
Stars
82

Build Status NPM version

Simple streamable WebAssembly binary parser.

Test

Compiling Code

npm run build
Examples

See the examples/ folder.

Running Tests
npm test
Creating Tests

Test .wasm files are located in the test/__fixtures__ directory. The testing harness compares the parsing output of the .wasm file against the snapshot file. You can use the npm test -- --updateSnapshot command to update the snapshot file. This is useful if you have made a change that affects the tests.