2 releases

0.1.1 Dec 1, 2022
0.1.0 Dec 1, 2022

#90 in #wasm-bindgen

Download history 10917/week @ 2023-11-27 13842/week @ 2023-12-04 9101/week @ 2023-12-11 9108/week @ 2023-12-18 2879/week @ 2023-12-25 11647/week @ 2024-01-01 6940/week @ 2024-01-08 14104/week @ 2024-01-15 9607/week @ 2024-01-22 8786/week @ 2024-01-29 9786/week @ 2024-02-05 1565/week @ 2024-02-12 1536/week @ 2024-02-19 1595/week @ 2024-02-26 1513/week @ 2024-03-04 904/week @ 2024-03-11

5,736 downloads per month
Used in 65 crates (via wasm-bindgen-downcast)

MIT/Apache

5KB

wasm-bindgen-downcast

Continuous integration

(API Docs)

Downcast a JavaScript wrapper generated by wasm-bindgen back to its original struct.

This is a workaround for rustwasm/wasm-bindgen#2231 that is robust with respect to minification (something other solutions can't handle).

License

This project is licensed under either of

at your option.

It is recommended to always use cargo crev to verify the trustworthiness of each of your dependencies, including this one.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

The intent of this crate is to be free of soundness bugs. The developers will do their best to avoid them, and welcome help in analysing and fixing them.

Dependencies

~1.5MB
~33K SLoC