Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@schacker/wasm-utils

schacker10.1.2TypeScript support: included

工具 > wasm-pack build --scope mynpmusername

readme

wasm-demo 示例

工具

wasm-pack build --scope mynpmusername

  • 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