This is the mini demo code for my blog post on shipping and using WebAssembly in an NPM package. The WASM package can be found here on npm. It's based on my C++ WebGPU -> WASM/Native template, check that out for the latest updates and to get started with WebGPU: https://github.com/Twinklebear/webgpu-cpp-wasm . Also see my blog post on building, shipping and debugging a WebAssembly app which this code extends.