Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rustwasm/wasm-pack
📦✨ your favorite rust -> wasm workflow tool!
https://github.com/rustwasm/wasm-pack
cli npm package registry rust rust-wasm wasm
Last synced: 5 days ago
JSON representation
📦✨ your favorite rust -> wasm workflow tool!
- Host: GitHub
- URL: https://github.com/rustwasm/wasm-pack
- Owner: rustwasm
- License: apache-2.0
- Created: 2018-02-12T14:04:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T18:53:11.000Z (2 months ago)
- Last Synced: 2024-10-29T20:10:10.227Z (2 months ago)
- Topics: cli, npm, package, registry, rust, rust-wasm, wasm
- Language: Rust
- Homepage: https://rustwasm.github.io/wasm-pack/
- Size: 3.86 MB
- Stars: 6,287
- Watchers: 54
- Forks: 409
- Open Issues: 327
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-rust-cn - rustwasm/wasm-pack - ci.com/rustwasm/wasm-pack.svg?branch=master">](https://travis-ci.org/rustwasm/wasm-packn) (Development tools / FFI)
- awesome-rust - rustwasm/wasm-pack - ci.com/rustwasm/wasm-pack.svg?branch=master">](https://travis-ci.org/rustwasm/wasm-packn) (Development tools / FFI)
- awesome-ccamel - rustwasm/wasm-pack - 📦✨ your favorite rust -> wasm workflow tool! (Rust)
- awesome-rust - rustwasm/wasm-pack
- awesome-rust-cn - rustwasm/wasm-pack
- awesome-list - wasm-pack - > wasm workflow tool! | rustwasm | 3591 | (Rust)
- StarryDivineSky - rustwasm/wasm-pack - pack 帮助您构建 rust 生成的 WebAssembly 包,您可以将其发布到 npm 注册表,或者以其他方式与您已使用的工作流(例如 webpack)中的任何 javascript 包一起使用。 (JavaScript框架 / 其他_文本生成、文本对话)
- awesome-rust-zh - rustwasm/wasm-pack - :package: :sparkles: 打包成 wasm 并将其发布到 npm![<img src="https://api.travis-ci.com/rustwasm/wasm-pack.svg?branch=master">](https://travis-ci.org/rustwasm/wasm-packn) (开发工具 / FFI)
- awesome-yew - wasm-pack - Your favorite Rust -> WebAssembly workflow tool. (Tooling / Frameworks)
- awesome-rust - rustwasm/wasm-pack - :package: :sparkles: pack up the wasm and publish it to npm! (Development tools / FFI)
- awesome-rust - rustwasm/wasm-pack - ci.com/rustwasm/wasm-pack.svg?branch=master">](https://travis-ci.org/rustwasm/wasm-packn) (开发工具 Development tools / 示例 FFI)
- fucking-awesome-rust - rustwasm/wasm-pack - :package: :sparkles: pack up the wasm and publish it to npm! (Development tools / FFI)
- fucking-awesome-rust - rustwasm/wasm-pack - :package: :sparkles: pack up the wasm and publish it to npm! (Development tools / FFI)
README
📦✨ wasm-pack
Your favorite Rust → Wasm workflow tool!
Docs
|
Contributing
|
Chat
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].[bundler-support]: https://github.com/rustwasm/team/blob/master/goals/bundler-integration.md#details
[webpack]: https://webpack.js.org/This project is a part of the [rust-wasm] group. You can find more info by
visiting that repo![rust-wasm]: https://github.com/rustwasm/team
![demo](demo.gif)
## 🔮 Prerequisites
This project requires Rust 1.30.0 or later.
- [Development Environment](https://rustwasm.github.io/wasm-pack/book/prerequisites/index.html)
- [Installation](https://rustwasm.github.io/wasm-pack/installer)## ⚡ Quickstart Guide
Visit the [quickstart guide] in our documentation.
[quickstart guide]: https://rustwasm.github.io/wasm-pack/book/quickstart.html
## 🎙️ Commands
- [`new`](https://rustwasm.github.io/wasm-pack/book/commands/new.html): Generate a new RustWasm project using a template
- [`build`](https://rustwasm.github.io/wasm-pack/book/commands/build.html): Generate an npm wasm pkg from a rustwasm crate
- [`test`](https://rustwasm.github.io/wasm-pack/book/commands/test.html): Run browser tests
- [`pack` and `publish`](https://rustwasm.github.io/wasm-pack/book/commands/pack-and-publish.html): 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
```[`env_logger`]: https://crates.io/crates/env_logger
## 👯 Contributing
Read our [guide] on getting up and running for developing `wasm-pack`, and
check out our [contribution policy].[guide]: https://rustwasm.github.io/wasm-pack/book/contributing.html
[contribution policy]: CONTRIBUTING.md## 🤹♀️ Governance
This project is part of the [rustwasm Working Group].
This project was started by [ashleygwilliams] and is maintained by [drager] and the Rust Wasm Working Group Core Team.
[ashleygwilliams]: https://github.com/ashleygwilliams
[drager]: https://github.com/drager
[rustwasm working group]: https://github.com/rustwasm/team