Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webassemblyjs/wasm-parser

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webassemblyjs/wasm-parser

WebAssembly binary format parser

  • 1.7.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18M
decreased by-26.02%
Maintainers
1
Weekly downloads
 
Created

What is @webassemblyjs/wasm-parser?

The @webassemblyjs/wasm-parser package is a tool for parsing WebAssembly binaries (.wasm files) into a format that is easier to interact with in JavaScript. It can be used to analyze and manipulate WebAssembly modules without having to execute them.

What are @webassemblyjs/wasm-parser's main functionalities?

Parsing WebAssembly binaries

This feature allows you to parse .wasm files into an abstract syntax tree (AST) that represents the structure and content of the WebAssembly module.

const { decode } = require('@webassemblyjs/wasm-parser');
const fs = require('fs');

const wasmBuffer = fs.readFileSync('module.wasm');
const ast = decode(wasmBuffer);

console.log(ast);

Other packages similar to @webassemblyjs/wasm-parser

Keywords

FAQs

Package last updated on 19 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc