alert / js / node_modules / @webassemblyjs / wasm-parser /
@Réz István Réz István authored on 18 Nov 2021
..
esm first commit 3 years ago
lib first commit 3 years ago
LICENSE first commit 3 years ago
README.md first commit 3 years ago
package.json first commit 3 years ago
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)