Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 928 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 928 Bytes

wasmcalc

This is the WASM layer for calclib. This package is for creating a WASM extension using wasm-pack.

As a good starting point look at rustwasm.

🛠️ 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

  • wasm-bindgen for communicating between WebAssembly and JavaScript.
  • console_error_panic_hook for logging panic messages to the developer console.
  • LICENSE-APACHE and LICENSE-MIT: most Rust projects are licensed this way, so these are included for you