@tbbjs/wasi
v0.1.4
Published
This package provides an common execution envitonment for WASI applications.
Downloads
14
Readme
@tbbjs/wasi
This package provides an common execution envitonment for WASI applications.
Modified from wasmer-js.
Requirements
- Cargo
- wasm-pack
- wasm-opt
Precondition
To build this library you will need to have installed in your system:
- Node.JS
- Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- wabt (for
wasm-strip
)
brew install wabt
- binaryen (for
wasm-opt
)
brew install binaryen
Build
npm run build