Creating an NPM package written in Rust

Ethane

Wasm

Ethane to NPM

$ ERROR in ../pkg/ethane_wasm_bg.wasm
$ module not found: Error: Cannot resolve 'env' in 'ethane-wasm/pkg'
$ wasm2wat ethane_wasm_bg.wasm -o ethane_wasm_bg.wat

Ethane to Wasm example

Conclusions

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store