Automic VaultAutomic Vault

brew

Install wasm-pack with Homebrew, apk, MacPorts, Nix, pacman, zypper

Your favorite rust -> wasm workflow tool! Version 0.15.0 via Homebrew; verified 2026-06-08.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install wasm-pack

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install wasm-pack

MacPorts ports tree · devel/wasm-pack/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add wasm-pack

Alpine Linux edge package indexes · wasm-pack · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#wasm-pack

nixpkgs package indexes · pkgs/by-name/wa/wasm-pack/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S wasm-pack

Arch Linux sync databases · wasm-pack · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install wasm-pack

openSUSE Tumbleweed package metadata · wasm-pack · source: download.opensuse.org

overview

Package summary

Your favorite rust -> wasm workflow tool!

Commands and aliases

  • wasm-pack

history

Project history and usage

wasm-pack is the Rust-to-WebAssembly workflow tool that turns a Rust crate into a JavaScript-consumable package. It automates the boring path from Cargo project to WebAssembly binary, wasm-bindgen glue, generated `package.json`, README copy, and npm-ready `pkg` directory.

Project history

The wasm-pack repository was created on February 12, 2018. Mozilla introduced it publicly in April 2018 as a tool for assembling and packaging Rust crates that target WebAssembly, explicitly aimed at letting Rust developers produce npm packages and JavaScript developers consume them without installing a Rust toolchain.

From the start, wasm-pack was described as workflow glue rather than a compiler. It adds the `wasm32-unknown-unknown` target when needed, builds Rust in release mode, runs wasm-bindgen, moves generated files into `pkg`, creates a package manifest, and prepares documentation for the JavaScript package ecosystem.

The Rust/Wasm 2019 roadmap made polishing the toolchain and culminating in a 1.0 version of wasm-pack one of its explicit goals. That placed wasm-pack at the center of the working group's push from experimental Rust/Wasm demos toward stable, batteries-included workflows.

Adoption history

wasm-pack became the default tutorial path for Rust used inside web applications. MDN's Rust-to-Wasm guide teaches the workflow with wasm-pack and explains that the resulting package contains WebAssembly and JavaScript code, so downstream users do not need Rust installed and may not know the implementation language.

The tool's ecosystem role is partly historical. The 2025 Rust post sunsetting the old rustwasm organization marked the end of the working-group hub that incubated tools like wasm-pack, while wasm-bindgen itself moved forward under new maintenance. wasm-pack remains useful and packaged, but it belongs to that first generation of Rust/Wasm workflow tools.

How it is used

A typical project runs `wasm-pack build` from a Rust library crate. The tool compiles for WebAssembly, invokes wasm-bindgen, writes JS and TypeScript-facing artifacts, creates `pkg/package.json`, and can target bundlers, Node.js, or web usage depending on options.

For maintainers, wasm-pack is the packaging bridge: Cargo metadata becomes npm metadata, Rust README material is copied into the package, and the generated JavaScript/Wasm files are laid out so ordinary npm, webpack, or other JavaScript tooling can consume them.

Why package nerds care

wasm-pack is significant because it translated Rust's package culture into npm's package culture. It made a compiled Rust library look like a normal JavaScript dependency, which was essential for early Rust/WebAssembly adoption in frontend and Node workflows.

Timeline

  • 2018-02-12: Public GitHub repository created.
  • 2018-04-18: Mozilla Hacks introduces wasm-pack to Rust and JavaScript developers.
  • 2019-01-23: Rust/Wasm roadmap names wasm-pack 1.0 as a workflow milestone.
  • 2024-10-29: GitHub releases show v0.13.1 in the long-running 0.x series.
  • 2026-05-15: GitHub releases show v0.15.0 as the latest release at research time.

Related projects

  • wasm-pack wraps wasm-bindgen and sits alongside cargo-generate templates, webpack or other JavaScript bundlers, npm, crates.io, and Rust's `wasm32-unknown-unknown` target.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for wasm-pack. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
wasm-packcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.15.0
manager updated2026-06-08
local dataok
upstreamcurrent
latest detectedv0.15.0

https://github.com/wasm-bindgen/wasm-pack

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:wasm-pack
Version0.15.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/wasm-pack
Homepagehttps://wasm-bindgen.github.io/wasm-pack/
Repositoryhttps://github.com/wasm-bindgen/wasm-pack
Upstream docshttps://wasm-bindgen.github.io/wasm-pack
LicenseApache-2.0 OR MIT
Source archivehttps://github.com/wasm-bindgen/wasm-pack/archive/refs/tags/v0.15.0.tar.gz
Last updated2026-06-08T18:49:58-04:00
Pulseupdated
Dependenciesrustup
Build dependenciescmake, rust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewasm-pack
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

wasm-pack

nix profile install nixpkgs#wasm-pack
  • normalized package name match
  • Matched by: Wasm Pack
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/wa/wasm-pack/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

wasm-pack 0.15.0-r0

rust to wasm build tool

https://github.com/wasm-bindgen/wasm-pack

sudo apk add wasm-pack
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: wasm-pack
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Wasm Pack
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wasm-pack from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

wasm-pack 0.15.0-1

Your favorite rust -> wasm workflow tool!

https://github.com/rustwasm/wasm-pack

sudo pacman -S wasm-pack
  • License: MIT AND Apache
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Wasm Pack
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: wasm-pack from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

wasm-pack 0.13.1-1.4

Your favorite Rust → Wasm workflow tool!

https://github.com/rustwasm/wasm-pack

sudo zypper install wasm-pack
  • License: (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR
  • Category: Development/Languages/Rust
  • Architecture: x86_64
  • Source Package: wasm-pack
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Wasm Pack
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wasm-pack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

wasm-pack

sudo port install wasm-pack
  • normalized package name match
  • Matched by: Wasm Pack
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/wasm-pack/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment