Open dglazkov opened 2 days ago
OOoooooh. How do I take a rust crate and turn it into an npm package?
Easiest way: wasm-pack. It even generates a package.json
and stuff.
And for all the low-level questions and needs you might have about compiling Rust to WebAssembly, I'll shamelessly self-plug my blog post.
See https://github.com/justjake/quickjs-emscripten