Move some stuff around, update README

This commit is contained in:
dcode
2019-06-03 03:59:30 +02:00
parent adc2f7e26a
commit 27d9ab6c2c
16 changed files with 259 additions and 299 deletions

8
lib/i64/index.js Normal file
View File

@ -0,0 +1,8 @@
var fs = require("fs");
// Instantiate the module
var mod = new WebAssembly.Module(fs.readFileSync(__dirname + "/build/optimized.wasm"));
var ins = new WebAssembly.Instance(mod, { /* no imports */ });
// Export its exports
module.exports = ins.exports;