You can try this library in Observable at https://observablehq.com/@domoritz/apache-arrow-in-webassembly.
Building and testing
wasm-pack build --target nodejs && node examples/flights.js.
To use a debug build, run
wasm-pack build --target nodejs --dev && node examples/flights.js.
wasm-pack build --target web. Then run
python3 -m http.server and open http://localhost:8000/examples/.
npm publish to build a bundle and release it to NPM.
cargo fmt && cargo clippy before committing.
Check file size
We can check how large the WASM file is after compression (which every web server probably does).
gzip -9 <pkg//arrow_wasm_bg.wasm | wc -c