macOS
brew install wasm-packlocal Homebrew formula metadata
sudo port install wasm-packMacPorts ports tree · devel/wasm-pack/Portfile · ソース: api.github.com
brew / 順位 2687
wasm-pack のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install wasm-packlocal Homebrew formula metadata
sudo port install wasm-packMacPorts ports tree · devel/wasm-pack/Portfile · ソース: api.github.com
sudo apk add wasm-packAlpine Linux edge package indexes · wasm-pack · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#wasm-packnixpkgs package indexes · pkgs/by-name/wa/wasm-pack/package.nix · ソース: api.github.com
sudo pacman -S wasm-packArch Linux sync databases · wasm-pack · ソース: geo.mirror.pkgbuild.com
sudo zypper install wasm-packopenSUSE Tumbleweed package metadata · wasm-pack · ソース: download.opensuse.org
概要
Your favorite rust -> wasm workflow tool!
履歴
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.
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.
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.
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.
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.
セキュリティ状態
wasm-pack に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
wasm-pack | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/wasm-bindgen/wasm-pack
インストールメタデータ
| パッケージキー | brew:wasm-pack |
|---|---|
| バージョン | 0.15.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/wasm-pack |
| ホームページ | https://wasm-bindgen.github.io/wasm-pack/ |
| リポジトリ | https://github.com/wasm-bindgen/wasm-pack |
| 上流ドキュメント | https://wasm-bindgen.github.io/wasm-pack/ |
| ライセンス | Apache-2.0 OR MIT |
| ソースアーカイブ | https://github.com/wasm-bindgen/wasm-pack/archive/refs/tags/v0.15.0.tar.gz |
| 最終更新 | 2026-07-17T22:47:12+09:00 |
| Pulse | updated |
| ビルド依存関係 | cmake, rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | wasm-pack |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
wasm-pack
nix profile install nixpkgs#wasm-packwasm-pack 0.15.0-r1
rust to wasm build tool
https://github.com/wasm-bindgen/wasm-pack
sudo apk add wasm-packwasm-pack 0.15.0-1
Your favorite rust -> wasm workflow tool!
https://github.com/rustwasm/wasm-pack
sudo pacman -S wasm-packwasm-pack 0.13.1-1.6
Your favorite Rust → Wasm workflow tool!
https://github.com/rustwasm/wasm-pack
sudo zypper install wasm-packwasm-pack
sudo port install wasm-packソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.