There are multiple ways!
I'd recommend `@wasmer/wasi` since it uses the same WASI implementation as Wasmer (compiled from Rust to Wasm using wasm-bindgen):
This is based on what wasmer used to provide for wasi in the browser before they did their major rewrite in rust mentioned above. I personally find the JavaScript version more useful for my projects so I revived their old project and am maintaining it.
Thanks for this info! I have a terminal on my website that was still using the old version and I've been wanting to upgrade it and get better input/blocking support. I will give this a try.