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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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