How to use TinyGo with the WebAssembly System Interface (WASI).
How to call WebAssembly from JavaScript in a browser.
Additional Resources for using TinyGo with WASM/WASI