Introducing wasm-pack
To be compatible with JavaScript, Rust-based WebAssembly applications should be completely interoperable with the JavaScript world. Without that, it will be difficult for developers to bootstrap their WebAssembly projects in JavaScript.
The node modules completely changed the perspective of the JavaScript world. They make it easier to develop and share the modules between Browser and Node environments. Developers around the world can use these libraries wherever and whenever they want.
Why do you need wasm-pack?
wasm-pack
makes it easy to build and pack Rust- and WebAssembly-based projects. Once packed, the module is ready to be shared with the world via the npm registry – just like millions (or even...