Skip to content

riskers/js-exec-go-wasm

Repository files navigation

js execute WASM complied by Golang or TinyGo


中文说明


  • Go Version: go version go1.21.5 darwin/arm64
  • TinyGo Version: tinygo version 0.30.0 darwin/amd64 (using go version go1.21.5 and LLVM version 16.0.1)
  • Nodejs Version: v18.17.1
  • wasm source code

Official Golang solution

TinyGo solution

Pack WASM

Universal wasm for Node and Browsers :) :

Example