@cckim/go-wasm
v1.0.0
Published
A convenient way to run go compiled wasm files on browsers and node
Downloads
1
Readme
go-wasm
A convenient way to run go compiled wasm files on node
Install
# pnpm
pnpm add @cckim/go-wasm
# yarn
yarn add @cckim/go-wasm
# npm
npm install @cckim/go-wasm
Usage
command line
go-wasm ./main.wasm arg1 arg2
Package
const { run } = require('@cckim/go-wasm')
run('./main.wasm', ['age1', 'arg2'])