🦀 unicode-math-class Rust crate compiled to a WebAssembly component
class('0') //=> "normal"
class('a') //=> "alphabetic"
class('(') //=> "opening"
class('😃') //=> null |
🏷️ Uses unicode-math-class v0.1.0
🟪 Distributed as WebAssembly to run anywhere
🤝 Composes well with other WebAssembly components
0️⃣ Zero dependencies
👀 You might be looking for the premade bindings for JavaScript or bindings for Python.
You can download the unicode-math-class.wasm WebAssembly component file from this repository's GitHub releases page. To actually use the WebAssembly component, you'll need to use a WebAssembly component host runtime.
How you use consume the WIT-defined API is determined by which bindings generator you use.
Run make setup or install these additional tools:
- Rust
wasm32-unknown-unknowntarget cargo componentwit-bindgenCLI- Static Web Server
wasm-tools
You can run make build to build the .wasm file. Use make build-docs to build the docs. Run the make publish workflow or use make publish to create new releases.