Aleph-Alpha/ts-rs

Generate TypeScript bindings from Rust types

69
/ 100
Established

This project helps Rust developers building web applications or WebAssembly modules to keep their backend and frontend data structures synchronized. It takes your defined Rust structs and enums and automatically generates corresponding TypeScript type declarations. The end-user is a Rust developer working on full-stack applications or WebAssembly.

1,745 stars and 1,009,144 monthly downloads. Actively maintained with 1 commit in the last 30 days.

Use this if you are developing a web application with a Rust backend and TypeScript frontend, and you want to ensure your data types are consistent across both without manually writing TypeScript definitions.

Not ideal if you are not using Rust for your backend or WebAssembly, or if your frontend is not written in TypeScript.

web-development full-stack-development backend-development frontend-development WebAssembly
No Package No Dependents
Maintenance 13 / 25
Adoption 20 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

1,745

Forks

158

Language

Rust

License

MIT

Category

code-generation

Last pushed

Mar 08, 2026

Monthly downloads

1,009,144

Commits (30d)

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Aleph-Alpha/ts-rs"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.