alef 0.25.37

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