SYNOPSIS
Translates from s-expressions to the WebAssembly binary-encoding. It wraps wabt's wast2wasm
INSTALL
npm install wast2wasm
USAGE
const wast2wasm = const wast = `(module)`
API
Parameters
text
String the s-expression to convertlog
[Bool](default false) wether or not to produce a log
Returns Promise which resolves an object with the property buffer
for
for the compiled binary and log
for the log