coronamap/node_modules/@webassemblyjs/wasm-parser
2022-08-06 08:12:21 -07:00
..
esm Deploy 2022-08-06 08:12:21 -07:00
lib Deploy 2022-08-06 08:12:21 -07:00
LICENSE Deploy 2022-08-06 08:12:21 -07:00
package.json Deploy 2022-08-06 08:12:21 -07:00
README.md Deploy 2022-08-06 08:12:21 -07:00
webassemblyjs-wasm-parser-1.7.10.tgz Deploy 2022-08-06 08:12:21 -07:00

@webassemblyjs/wasm-parser

WebAssembly binary format parser

Installation

yarn add @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 (default false)
  • ignoreCodeSection: ignore the code section (default false)
  • ignoreDataSection: ignore the data section (default false)