Inspect demo messages
  • TypeScript 59.5%
  • Rust 23.5%
  • Nix 7.9%
  • JavaScript 5.3%
  • CSS 3.2%
  • Other 0.6%
Find a file
2021-08-01 16:27:44 +02:00
src packet loading 2021-07-26 00:27:53 +02:00
tests git init 2021-07-25 15:18:53 +02:00
www highlight selected 2021-08-01 16:27:44 +02:00
.appveyor.yml git init 2021-07-25 15:18:53 +02:00
.cargo-ok git init 2021-07-25 15:18:53 +02:00
.gitignore git init 2021-07-25 15:18:53 +02:00
.travis.yml git init 2021-07-25 15:18:53 +02:00
Cargo.toml released 2021-07-27 19:05:52 +02:00
LICENSE_APACHE git init 2021-07-25 15:18:53 +02:00
LICENSE_MIT git init 2021-07-25 15:18:53 +02:00
README.md git init 2021-07-25 15:18:53 +02:00

wasm-pack-template

A template for kick starting a Rust and WebAssembly project using wasm-pack.

Build Status

Tutorial | Chat

Built with 🦀🕸 by The Rust and WebAssembly Working Group

About

📚 Read this template tutorial! 📚

This template is designed for compiling Rust libraries into WebAssembly and publishing the resulting package to NPM.

Be sure to check out other wasm-pack tutorials online for other templates and usages of wasm-pack.

🚴 Usage

🐑 Use cargo generate to Clone this Template

Learn more about cargo generate here.

cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-project

🛠️ Build with wasm-pack build

wasm-pack build

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Publish to NPM with wasm-pack publish

wasm-pack publish

🔋 Batteries Included