npm browser packages - Hello wasm-pack! (original) (raw)
- 1. Introduction
- 2. Quickstart
- 3. Prerequisites
- 4. Commands
- 5. Tutorials
- 6. Cargo.toml Configuration
- 7. Contributing
This documentation isno longer maintained at this domain, and is now maintained at drager.github.io/wasm-pack instead.
Hello wasm-pack!
The goal of this tutorial is to introduce you to the wasm-pack workflow by building a small npm package designed to be used in a browser application.
This tutorial is aimed at folks who are both beginners to WebAssembly and Rust- you don't need much Rust knowledge to complete this tutorial.
Be sure to have done the following before starting:
- Install wasm-pack
- Read and install the Prerequisites.
⚠️ We strongly recommend that you install Node.js using a version manager. You can learn more here.