@bytecodealliance/weval
v0.3.3
Published
The WebAssembly partial evaluator
Downloads
30,261
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);
});