1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/@webassemblyjs/wasm-parser
zhurui 54669c07cf i4 2023-12-18 13:12:25 +08:00
..
esm i4 2023-12-18 13:12:25 +08:00
lib i4 2023-12-18 13:12:25 +08:00
LICENSE i4 2023-12-18 13:12:25 +08:00
README.md i4 2023-12-18 13:12:25 +08:00
package.json i4 2023-12-18 13:12:25 +08:00
webassemblyjs-wasm-parser-1.7.10.tgz i4 2023-12-18 13:12:25 +08:00

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)