云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
sync
/
jcore
/
web
/
front_end
/
node_modules
/
@webassemblyjs
/
wasm-parser
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
lib
2024-07-14 16:16:43
63.84 KB
package.json
2024-07-14 16:16:43
2.21 KB
README.md
2024-07-14 16:16:43
577 B
# @webassemblyjs/wasm-parser > WebAssembly binary format parser ## Installation ```sh yarn add @webassemblyjs/wasm-parser ``` ## Usage ```js import { decode } from "@webassemblyjs/wasm-parser"; import { readFileSync } from "fs"; const binary = readFileSync("/path/to/module.wasm"); 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`)
2025-09-05 07:42:19 Friday 216.73.216.191 Runningtime:0.013s Mem:1.47 MB