#tensor #wasm-bindings #n5 #format #version #dataset

n5-wasm

Rust-WASM bindings to the N5 tensor file system format

1 unstable release

Uses old Rust 2015

0.1.0 Jan 16, 2019

#97 in #dataset

MIT/Apache

30KB
600 lines

N5 Build Status

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.

Build Instructions

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/.

Dependencies

~11–15MB
~284K SLoC