@bytecodealliance/weval
v0.3.2
Published
The WebAssembly partial evaluator
Downloads
29,200
Keywords
Readme
weval
Prebuilt weval binaries available via npm
See the weval repository for more details.
API
$ npm install --save @bytecodealliance/weval
const execFile = require('child_process').execFile;
const weval = require('@bytecodealliance/weval');
execFile(weval, ['-w', '-i', 'snapshot.wasm', '-o', 'wevaled.wasm'], (err, stdout) => {
console.log(stdout);
});