UNPKG
wasm-metering
Version:
latest (0.2.1)
0.2.1
0.2.0
0.1.1
0.1.0
0.0.0
injects metering into webassembly binaries
github.com/ewasm/wasm-metering
ewasm/wasm-metering
wasm-metering
/
demo
/
node_modules
/
read-only-stream
/
example
/
main.js
4 lines
(3 loc)
•
125 B
JavaScript
View Raw
1
2
3
4
var
wrap =
require
(
'./wrap.js'
);
var
ro =
wrap
();
// can't write to `ro` and muck up internal state
ro.
pipe
(process.
stdout
);