About this project

wasm-pack is a tool for building Rust-generated WebAssembly packages that interoperate with JavaScript, for use in browsers or Node.js. It enables creating npm packages from Rust crates, which can be published to the npm registry or used with JavaScript tools like webpack. Key commands include 'new' for project generation, 'build' for compiling to WebAssembly, 'test' for browser testing, and 'pack'/'publish' for packaging and publishing. Requires Rust 1.30.0 or later. Logging is configurable via the RUST_LOG environment variable.