This tool seeks to be a one-stop shop for building and working with Rust-generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build rust-generated WebAssembly packages that you could publish to the npm registry, or otherwise use alongside any Javascript packages in workflows that you already use, such as webpack.
This tool seeks to be a one-stop shop for building and working with Rust-generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build rust-generated WebAssembly packages that you could publish to the npm registry, or otherwise use alongside any Javascript packages in workflows that you already use, such as webpack.
To install wasm-pack, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install wasm-pack
To see what files were installed by wasm-pack, run:
port contents wasm-pack
To later upgrade wasm-pack, run:
sudo port selfupdate && sudo port upgrade wasm-pack
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.