pkg.soopen package index

brew / 排名 2690

使用 Homebrew, apk, MacPorts, Nix, pacman, zypper 安装 wasm-pack

查看 wasm-pack 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wasm-pack

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install wasm-pack

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add wasm-pack

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

Nix已验证 · 92%
nix profile install nixpkgs#wasm-pack

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

Arch Linux pacman已验证 · 92%
sudo pacman -S wasm-pack

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

openSUSE zypper已验证 · 92%
sudo zypper install wasm-pack

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

概览

软件包摘要

Your favorite rust -> wasm workflow tool!

命令和别名

  • wasm-pack

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 wasm-pack 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
wasm-pack可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.15.0
管理器更新时间2026-07-17
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:wasm-pack
版本0.15.0
软件包管理器Homebrew
主页https://wasm-bindgen.github.io/wasm-pack/
仓库https://github.com/wasm-bindgen/wasm-pack
最后更新2026-07-17T22:47:12+09:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

wasm-pack

nix profile install nixpkgs#wasm-pack
  • normalized package name match
  • 匹配方式: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-r1

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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.6

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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Wasm Pack
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wasm-pack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

wasm-pack

sudo port install wasm-pack
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation