fable-compiler/ts2fable
ts2fable is a TypeScript-to-F# converter that transforms TypeScript type definitions into idiomatic F# code. It provides a CLI tool and an interactive web-based playground for real-time code generation. The system handles complex type mappings, including generics, comments, and library-specific bindings, while offering fine-grained control over the generated F# output.
54.2
Adequate · 1 August 2026
31k
lines of production code
F#
primary language
2
bus factor · 18 authors in all
3
measurements over time
How it got here
2017–2018 · Core implementation and test expansion
This period focused on establishing the foundational structure and core logic for the ts2fable tool, including the initial project setup, build configuration, and the primary TypeScript-to-F# conversion engine. The work also significantly expanded test coverage across various libraries like React, BreezeJS, and Monaco, while introducing an interactive web-based playground for code generation.
15 changes
2019–2023 · Test coverage expansion and build system modernization
This period focused on significantly expanding test coverage for the TypeScript-to-F# code generator, adding extensive regression tests for complex type scenarios and documentation handling. Concurrently, the project introduced an F#-based build script to streamline the build, test, and web-app bundling processes.
7 changes
Survey your own repository
fable-compiler/ts2fable was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 1 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit e046cee55e — the exact code this score is about.
- Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.