Browser-compatible WASM bindings to the Rust implementation of the N5 "Not HDF5" n-dimensional tensor file system storage format
N5 datasets must be available via CORS-compatible HTTP. Compatible with Java N5 Version 2.0.2.
Currently only raw and GZIP compression are supported.
This assumes you have rustup installed.
git clone https://github.com/aschampion/n5-wasm
cd n5-wasm
rustup override set nightly
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
wasm-pack build
The built npm package will be in pkg/
.