#wasm #bindings #typescript #wasm-bindgen #javascript


Runtime dependency for ts-bindgen. Supports wasm-bindgen interfaces autogenerated from typescript definitions

4 releases (breaking)

0.5.0 Mar 12, 2022
0.4.0 Feb 21, 2022
0.2.0 Feb 8, 2022
0.1.0 Jan 31, 2022

#21 in #wasm-bindgen

35 downloads per month


931 lines

ts-bindgen-rt   CI Latest Version Rust Documentation Crates.io

ts-bindgen-rt contains the runtime that generated bindings depend on for ts-bindgen.

For usage information about ts-bindgen, check out the ts-bindgen docs, online playground, or repo.


ts-bindgen is currently alpha software and it should be expected that any or all of the following might change significantly from version to version:

  1. Generated bindings
  2. Exposed interfaces
  3. Internal implementation

There are currently known issues that will prevent generation of reasonable bindings for some typescript idioms.

We welcome contributions and issues!


ts-bindgen-rt provides the runtime library that our generated bindings depend on, primarily for serialization and deserialization between javascript (JsValues and rust).


Copyright 2022 Adam Berger, Ratchet Designs.

ts-bindgen is licensed under either of the MIT or Apache licenses, at your option.


ts-bindgen is crafted thoughtfully by Ratchet Designs


~41K SLoC