lhl 6ff0e96ad3 8-4-1 1 vuosi sitten
..
esm 6ff0e96ad3 8-4-1 1 vuosi sitten
lib 6ff0e96ad3 8-4-1 1 vuosi sitten
LICENSE 6ff0e96ad3 8-4-1 1 vuosi sitten
README.md 6ff0e96ad3 8-4-1 1 vuosi sitten
package.json 6ff0e96ad3 8-4-1 1 vuosi sitten

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)