To compile shiva into wasm package
-
Install wasm-pack with
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
-
Compile it with command
wasm-pack build --target web
Npm package url - https://www.npmjs.com/package/shiva-wasm
Install it with - npm i shiva-wasm