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 project is a part of the rust-wasm group. You can find more info by visiting that repo! Currently, wasm-pack requires that you have npm installed to pack and publish your package. Long-term, this will be replaced by a Rust-only version. If you would rather use another package manager that interfaces with the npm registry you may, however, the pack, publish, and login commands wrap the npm CLI interface and as a result require that npm be installed.

Features

  • This project requires Rust 1.30.0 or later
  • Visit the quickstart guide in our documentation
  • Generate a new RustWasm project using a template
  • Run browser tests
  • Generate an npm wasm pkg from a rustwasm crate
  • Create a tarball of your rustwasm pkg and/or publish to a registry

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow wasm-pack

wasm-pack Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of wasm-pack!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Terminals, Rust Workflow Management Software

Registered

2022-05-13