Aleph-Alpha/ts-rs
Generate TypeScript bindings from Rust types
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.
Stars
1,745
Forks
158
Language
Rust
License
MIT
Category
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.
Related tools
Dav1dde/glad
Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
apollographql/apollo-tooling
✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
mmcloughlin/avo
Generate x86 Assembly with Go
krzysztofzablocki/Sourcery
Meta-programming for Swift, stop writing boilerplate code.
awtkns/fastapi-crudrouter
A dynamic FastAPI router that automatically creates CRUD routes for your models