This is an example project showing Rust<->JS interop.
npm install npm run compile npm run serve
And then visit http://localhost:8080. If you've never installed Emscripten before,
npm run compile may take several minutes to download it.
Thanks to Ian J Sikes' post on Medium for lots of help writing this!