Buckets:
32.1 GB
673,093 files
Updated 5 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| esm | 3 items | ||
| lib | 3 items | ||
| LICENSE | 1.09 kB xet | 8799e0e2 | |
| README.md | 577 Bytes xet | 7ed38bbd | |
| package.json | 1.15 kB xet | 49436b06 |
@webassemblyjs/wasm-parser
WebAssembly binary format parser
Installation
yarn add @webassemblyjs/wasm-parser
Usage
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 (defaultfalse)ignoreCodeSection: ignore the code section (defaultfalse)ignoreDataSection: ignore the data section (defaultfalse)
- Total size
- 32.1 GB
- Files
- 673,093
- Last updated
- Mar 19
- Pre-warmed CDN
- US EU US EU