wast-graph

a module for reading and manipulating webassembly's ast

Usage no npm install needed!

<script type="module">
  import wastGraph from 'https://cdn.skypack.dev/wast-graph';
</script>

README

SYNOPSIS

Greenkeeper badge NPM Package Build Status Coverage Status

js-standard-style

A module for manipulating webassembly's ast. It uses the AST JSON format produce by wast-parser.

API

This has about same API as generic-digraph. With a couple of additional functions

parse(json)

Creates an AST from the JSON format. Properties of each node are stored in value.

toJSON

Reproduces the AST in the JSON format

LICENSE

MPL-2.0