Package Exports
- @webassemblyjs/wasm-parser
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@webassemblyjs/wasm-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@webassemblyjs/wasm-parser
WebAssembly binary format parser
Installation
npm install @webassemblyjs/wasm-parser
Usage
import { decode } from "@webassemblyjs/wasm-parser";
const decoderOpts = {};
const ast = decode(binary, decoderOpts);
Decoder options
dump
: print dump information while decoding (defaultfalse
)ignoreCodeSection
: ignore the code section (defaultfalse
)ignoreDataSection
: ignore the data section (defaultfalse
)