Categorygithub.com/linden/wasmexec
repositorypackage
0.0.0-20240302072832-f54d1f7ad72c
Repository: https://github.com/linden/wasmexec.git
Documentation: pkg.go.dev

# README

wasmexec

Getting Started

Install

# install `wasmexec`.
go install github.com/linden/wasmexec@latest

Run

# set the build target to wasm/js then run using wasmexec as the executor.
GOOS=js GOARCH=wasm go run -exec wasmexec 

Test

# set the build target to wasm/js then test using wasmexec as the executor.
GOOS=js GOARCH=wasm go test -exec wasmexec -v

Credits

Based-off of github.com/agnivade/wasmbrowsertest.