2 releases

0.1.1 Dec 1, 2022
0.1.0 Dec 1, 2022

#109 in #wasm-bindgen

Download history 647/week @ 2024-07-28 734/week @ 2024-08-04 794/week @ 2024-08-11 770/week @ 2024-08-18 862/week @ 2024-08-25 655/week @ 2024-09-01 756/week @ 2024-09-08 604/week @ 2024-09-15 715/week @ 2024-09-22 988/week @ 2024-09-29 224/week @ 2024-10-06 466/week @ 2024-10-13 405/week @ 2024-10-20 596/week @ 2024-10-27 499/week @ 2024-11-03 485/week @ 2024-11-10

1,997 downloads per month
Used in 56 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
~36K SLoC