1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/@webassemblyjs/wasm-parser
詹力 1a19ec897f 删除无关模块 2024-01-16 21:26:16 +08:00
..
esm 删除无关模块 2024-01-16 21:26:16 +08:00
lib 删除无关模块 2024-01-16 21:26:16 +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 删除无关模块 2024-01-16 21:26:16 +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)