babel-plugin-reflow

JSON →
library 0.5.7 ·javascript
verified May 27, 2026

Babel plugin to transpile Flow type annotations to TypeScript, with a CLI wrapper for batch conversion. Current stable version 0.5.7 (latest). Development appears slow but active with periodic releases. Key differentiators: focuses on pretty output via Prettier, handles comments well, proven on real projects (27k and 41k LOC). Compared to alternatives like flow-to-ts or babel-plugin-flow-to-typescript, Reflow offers a CLI and better output formatting. Supports base types, generics, utility types, nullable types, optional chaining, nullish coalescing, and class decorator replacement. Limitation: empty Flow object types become `object` not `{}` since v0.5.

total hits 30
actors 8 distinct systems
last hit 23h ago AhrefsBot
Amazonbot
4
MetaBot
4
ByteDance
3
GPTBot
2
Script
2
Search engines
1
Humans
6

top countries 🇺🇸 United States · 🇩🇪 Germany · VN · 🇨🇦 Canada · 🇸🇬 Singapore