go-wasm

0.0.3 • Public • Published

Go WebAssembly Lib

How To Use

const {Go} = require('go-wasm')
 
const start = async function start() {
    const go = new Go()
    const result = await WebAssembly.instantiate(fs.readFileSync('./lib.wasm'), go.importObject)
    await go.run(result.instance)
}
 
start();

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.3360latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.3360
0.0.20
0.0.10

Package Sidebar

Install

npm i go-wasm

Weekly Downloads

360

Version

0.0.3

License

MIT

Unpacked Size

16.1 kB

Total Files

7

Last publish

Collaborators

  • alphatr