JSPM

  • Created
  • Published
  • Downloads 29527469
  • Score
    100M100P100Q250869F
  • License MIT

WebAssembly binary format parser

Package Exports

  • @webassemblyjs/wasm-parser

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@webassemblyjs/wasm-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@webassemblyjs/wasm-parser

WebAssembly binary format parser

Installation

yarn add @webassemblyjs/wasm-parser

Usage

import { decode } from "@webassemblyjs/wasm-parser";

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)