Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis.Learn more
Socket
Socket

@webassemblyjs/wasm-parser

Package Overview
Dependencies
6
Maintainers
1
Versions
85
Issues
File Explorer

Advanced tools

@webassemblyjs/wasm-parser

WebAssembly binary format parser

    1.11.6latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
24,112,343
increased by7.27%

Weekly downloads

Readme

Source

@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 (default false)
  • ignoreCodeSection: ignore the code section (default false)
  • ignoreDataSection: ignore the data section (default false)

Keywords

FAQs

Last updated on 09 May 2023

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.

Install Socket
Socket
Socket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc