wasm-pack

?✨ your favorite rust -> wasm workflow tool!

Github stars Tracking Chart

Built with ?? by The Rust and WebAssembly Working Group

About

This tool seeks to be a one-stop shop for building and working with rust-
generated WebAssembly that you would like to interop with JavaScript, in the
browser or with Node.js. wasm-pack helps you build rust-generated
WebAssembly packages that you could publish to the npm registry, or otherwise use
alongside any javascript packages in workflows that you already use, such as webpack
or greenkeeper.

This project is a part of the rust-wasm group. You can find more info by
visiting that repo!

demo

? Prerequisities

This project requires Rust 1.30.0 or later.

⚡ Quickstart Guide

Visit the quickstart guide in our documentation.

?️ Commands

  • new: Generate a new RustWasm project using a template
  • build: Generate an npm wasm pkg from a rustwasm crate
  • test: Run browser tests
  • pack and publish: Create a tarball of your rustwasm pkg and/or publish to a registry

? Logging

wasm-pack uses env_logger to produce logs when wasm-pack runs.

To configure your log level, use the RUST_LOG environment variable. For example:

RUST_LOG=info wasm-pack build

? Contributing

Read our guide on getting up and running for developing wasm-pack, and
check out our contribution policy.

?‍♀️ Governance

This project is part of the rustwasm Working Group.

This project was started by ashleygwilliams and is co-maintained by ashleygwilliams, drager and the Rust Wasm Working Group Core Team.

Main metrics

Overview
Name With Ownerrustwasm/wasm-pack
Primary LanguageRust
Program languageRust (Language Count: 2)
Platform
License:Apache License 2.0
所有者活动
Created At2018-02-12 14:04:34
Pushed At2024-11-25 17:01:10
Last Commit At2024-11-02 18:04:21
Release Count25
Last Release Namev0.13.1 (Posted on )
First Release Namev0.1.0 (Posted on 2018-04-23 12:13:06)
用户参与
Stargazers Count6.6k
Watchers Count50
Fork Count434
Commits Count1.3k
Has Issues Enabled
Issues Count885
Issue Open Count317
Pull Requests Count419
Pull Requests Open Count55
Pull Requests Close Count126
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private