@webassemblyjs/wasm-parser
Advanced tools
Weekly downloads
Readme
WebAssembly binary format parser
yarn add @webassemblyjs/wasm-parser
import { decode } from "@webassemblyjs/wasm-parser";
import { readFileSync } from "fs";
const binary = readFileSync("/path/to/module.wasm");
const decoderOpts = {};
const ast = decode(binary, decoderOpts);
dump
: print dump information while decoding (default false
)ignoreCodeSection
: ignore the code section (default false
)ignoreDataSection
: ignore the data section (default false
)FAQs
WebAssembly binary format parser
The npm package @webassemblyjs/wasm-parser receives a total of 19,447,595 weekly downloads. As such, @webassemblyjs/wasm-parser popularity was classified as popular.
We found that @webassemblyjs/wasm-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.