alef 0.25.37

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
#[wasm_bindgen(js_name = "{{ camel }}")]
pub fn {{ clear_fn }}() -> Result<(), wasm_bindgen::JsValue> {
    {{ host_path }}().map_err(|e| wasm_bindgen::JsValue::from_str(&e.to_string()))
}