fork of https://github.com/rustwasm/wasm-pack for the needs of NextGraph.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Avery Harnish bdbb0d8c31 Adds npm steps to release checklist 5 years ago
.github update rustfmt install snippet in pull request template 6 years ago
docs Merge pull request #694 from Pauan/quiet 5 years ago
npm Don't use node -e require for npm installer 5 years ago
src Merge pull request #694 from Pauan/quiet 5 years ago
tests/all Merge pull request #694 from Pauan/quiet 5 years ago
.appveyor.yml chore: Remove binary-install 6 years ago
.gitignore feat(ignore): remove wasm-pack.log 6 years ago
.travis.yml Fix clippy warnings and add to CI 5 years ago
CHANGELOG.md 0.8.1 6 years ago
CODE_OF_CONDUCT.md feat(coc): add rust coc 7 years ago
CONTRIBUTING.md Add link to help article on setting up a global .gitignore 7 years ago
Cargo.lock fix(deps): cargo update 5 years ago
Cargo.toml fix(command_test): stamps.rs check driver once per day, update RELEASE_CHECKLIST 6 years ago
LICENSE-APACHE feat(doc): add licenses 7 years ago
LICENSE-MIT feat(doc): add licenses 7 years ago
README.md Fix broken quickstart guide link 6 years ago
RELEASE_CHECKLIST.md Adds npm steps to release checklist 5 years ago
clippy.toml Refactor: fix clippy warnings 6 years ago
demo.gif v0.5.0 7 years ago

README.md

📦 wasm-pack

Your favorite Rust → Wasm workflow tool!

Build Status Build status crates.io

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