tree: 92b03096b58d7524e0e3dd08d5e3aa8f3e648c53 [path history] [tgz]
  1. esm/
  2. lib/
  3. LICENSE
  4. package.json
  5. README.md
  6. webassemblyjs-wasm-parser-1.7.10.tgz
node_modules/@webassemblyjs/wasm-parser/README.md

@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)