pkg.soopen package index

brew / rang 4868

Installer wasm-bindgen avec Homebrew, apk, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de wasm-bindgen pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install wasm-bindgen

local Homebrew formula metadata

aperçu

Résumé du paquet

Facilitating high-level interactions between Wasm modules and JavaScript

Commandes et alias

  • wasm-bindgen
  • wasm-bindgen-test-runner
  • wasm2es6js

historique

Historique du projet et usages

wasm-bindgen is the central Rust-to-JavaScript binding generator for WebAssembly. It pairs a Rust crate and procedural macro with a command-line postprocessor that emits JavaScript glue, TypeScript declarations, and a processed `.wasm` artifact so Rust code can interact with richer JavaScript values than core WebAssembly's numeric ABI.

Historique du projet

The wasm-bindgen repository was created on December 18, 2017, during the early Rust and WebAssembly working-group push to make Rust a first-class WebAssembly language. In April 2018, Alex Crichton introduced it on Mozilla Hacks as the bridge that hid the boilerplate needed for strings, exceptions, objects, DOM APIs, and JavaScript imports or exports.

The project was built around the `#[wasm_bindgen]` annotation and a CLI postprocessing step. The design let Rust libraries describe binding metadata in the Wasm output, after which the CLI generated JavaScript wrappers and adjusted imports. Its own guide still describes it as both a Rust library and a CLI for high-level interactions between Wasm modules and JavaScript.

In July 2025, the Rust project announced that the old `rustwasm` GitHub organization would be archived after a long inactive period, but wasm-bindgen would be transferred into a dedicated `wasm-bindgen` organization with additional maintainers. That made wasm-bindgen the survivor of the first Rust/Wasm working-group wave rather than only a historical artifact.

Historique d'adoption

wasm-bindgen became the base layer for the higher-level Rust/Wasm web workflow. The 2019 Rust and WebAssembly roadmap treated the ecosystem as moving from usable to stable and production-ready, with wasm-pack, testing, profiling, debugging, and library work all depending on reliable JavaScript interop.

Its adoption spread because it matched JavaScript packaging expectations: generated ECMAScript modules, optional TypeScript declarations, browser, bundler, and Node-oriented output targets, and integration through wasm-pack. MDN's Rust-to-Wasm guide still teaches Rust WebAssembly by using wasm-pack and wasm-bindgen together.

Modes d'utilisation

A developer writes Rust functions, structs, imports, or exports annotated with `#[wasm_bindgen]`, compiles the crate for `wasm32-unknown-unknown`, then runs `wasm-bindgen` against the `.wasm` file. The CLI's `--out-dir` and `--target` options control where generated bindings go and whether the output is intended for bundlers, the browser, or Node.js.

For package maintainers, wasm-bindgen is often invisible behind wasm-pack, but it is the piece that decides the JavaScript surface area: it emits the `.js` shim, `.d.ts` declarations, processed Wasm file, imports, exports, and metadata needed by downstream JavaScript tooling.

Pourquoi les passionnés de paquets s'y intéressent

wasm-bindgen matters because it turned Rust-generated Wasm from a numeric foreign-function interface into something that could be packaged like JavaScript. It is also a snapshot of WebAssembly ecosystem history: before the component model matures everywhere, it acts as a practical polyfill-like bridge for high-level interop.

Chronologie

  • 2017-12-18: Public GitHub repository created.
  • 2018-04-04: Mozilla Hacks publishes a detailed wasm-bindgen introduction.
  • 2019-01-23: Rust/Wasm roadmap calls for a production-ready, batteries-included ecosystem around the tooling.
  • 2025-07-21: Rust announces rustwasm sunsetting and wasm-bindgen transfer to a dedicated organization.
  • 2026-06-24: GitHub releases show active 0.2.x releases continuing under the new organization.

Related projects

  • wasm-pack wraps wasm-bindgen for npm-oriented packages. `js-sys`, `web-sys`, and `wasm-bindgen-futures` provide adjacent bindings and async support in the same ecosystem.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
wasm-bindgenexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
wasm-bindgen-test-runnerexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
wasm2es6jsexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-08-03
version du gestionnaire0.2.126
gestionnaire mis à jour2026-06-25
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:wasm-bindgen
Version0.2.126
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://wasm-bindgen.github.io/wasm-bindgen/
Dépôthttps://github.com/wasm-bindgen/wasm-bindgen
Dernière mise à jour2026-06-25T01:43:55Z
Pulseupdated
Bouteillenon enregistré
Serviceaucun déclaré

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

apk95%

wasm-bindgen 0.2.126-r0

Interoperating JS and Rust code

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

sudo apk add wasm-bindgen
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: wasm-bindgen
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Wasm Bindgen
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: wasm-bindgen from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

wasm-bindgen 0.2.126-1

Interoperating JS and Rust code

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

sudo pacman -S wasm-bindgen
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Wasm Bindgen
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: wasm-bindgen from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

wasm-bindgen 0.2.100-1.5

Facilitating high-level interactions between Wasm modules and JavaScript

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

sudo zypper install wasm-bindgen
  • License: Apache-2.0 OR MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: wasm-bindgen
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Wasm Bindgen
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: wasm-bindgen from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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