{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/wasm-pack/","markdown":"https://findsoftware.frbit.cloud/wasm-pack.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"wasm-pack","name":"wasm-pack","urls":{"home":"https://wasm-bindgen.github.io/wasm-pack/","repository":"https://github.com/wasm-bindgen/wasm-pack","docs":"https://wasm-bindgen.github.io/wasm-pack/book/"},"category":["build-tool"],"description":"Command-line tool that builds Rust crates into WebAssembly packages for JavaScript, with npm publishing support.","maintainer":"drager","firstRelease":2018,"hosting":null,"language":"rust","runtime":["binary"],"runtimeMin":null,"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":["local"],"renderingModes":null,"installMethod":"cargo install","licenseModel":"open-source","license":"MIT OR Apache-2.0, Apache-2.0","currentMajor":"0","latestReleaseDate":"2026-05-15T00:00:00.000Z","githubStargazers":7293,"contributors":156,"packagistDownloads":null,"npmWeeklyDownloads":111161,"social":{"discord":"https://discordapp.com/channels/442252698964721669/443151097398296587"},"checkedAt":"2026-10-28T00:00:00.000Z","addedAt":"2026-10-28T00:00:00.000Z","sources":[{"field":"urls","url":"https://wasm-bindgen.github.io/wasm-pack/","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/wasm-bindgen/wasm-pack","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://wasm-bindgen.github.io/wasm-pack/book/","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"category","url":"https://wasm-bindgen.github.io/wasm-pack/book/prerequisites/index.html","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runsAs","url":"https://wasm-bindgen.github.io/wasm-pack/book/prerequisites/index.html","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/wasm-bindgen/wasm-pack","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runtime","url":"https://wasm-bindgen.github.io/wasm-pack/book/prerequisites/index.html","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/wasm-bindgen/wasm-pack/blob/HEAD/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/wasm-bindgen/wasm-pack/v0.15.0/Cargo.toml","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/wasm-bindgen/wasm-pack","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/wasm-bindgen/wasm-pack/releases/latest","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/wasm-bindgen/wasm-pack/releases/latest","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"firstRelease","url":"https://crates.io/api/v1/crates/wasm-pack/versions","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://wasm-bindgen.github.io/wasm-pack/installer","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://wasm-bindgen.github.io/wasm-pack/installer","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://wasm-bindgen.github.io/wasm-pack/installer","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://wasm-bindgen.github.io/wasm-pack/installer","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/wasm-bindgen/wasm-pack","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/wasm-bindgen/wasm-pack/contributors","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-09-28:2026-10-04/wasm-pack","checkedAt":"2026-10-28T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"wasm-pack is a command-line tool that compiles a Rust crate to WebAssembly and packages the output for JavaScript. The build command writes a `pkg` folder with the compiled `.wasm` binary, a JavaScript wrapper, type declarations and a `package.json`. That folder can be published to the npm registry or used alongside JavaScript packages in an existing bundler workflow.\n\nThe build command takes a target that sets how the JavaScript is emitted and loaded: bundler, Node.js, a native browser ES module, a browser global without modules, or Deno. A separate `test` command runs browser tests, per the project's README.\n\n## Worth knowing\n\nBuilding needs a Rust toolchain. Publishing to npm needs npm installed and configured, and the prerequisites page says the project intends to remove the need for a Node runtime in that step."}