Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 371 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 371 Bytes

graphacean

ferric grapheme

To build, run

wasm-pack build --target web

then do python -m http.server or something to host a local server to test the wasm thing.

For a new file, do

use wasm_bindgen::prelude::*;

#[wasm_bindgen]
pub struct WhateverYouWantPublicToJS {
    // ...
}

#[wasm_bindgen]
impl WhateverYouWantPublicToJS {
    // ...
}