Adding binary I/O to boa https://github.com/boa-dev/boa and compiling to WASM and native executable.
Sparing you the back and forth and testing of what Google Gemini spit out over hours, here's what came about.
Cargo.toml
[package]
name = "boa-io"
version = "0.1.0"
edition = "2021"