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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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