{"library":"babel-plugin-reflow","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.5.7","tags":["javascript","babel-plugin","flow","typescript","babel-plugin-flow","babel-plugin-typescript","babel-plugin-flow-to-typescript","babel-plugin-flow-to-ts"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-reflow","imports":["import reflow from 'babel-plugin-reflow'","import { ReflowError } from 'babel-plugin-reflow'","// .babelrc\n{\n  \"plugins\": [\"babel-plugin-reflow\"]\n}"]},{"cmd":"yarn add babel-plugin-reflow","imports":[]},{"cmd":"pnpm add babel-plugin-reflow","imports":[]}],"homepage":null,"github":"https://github.com/grubersjoe/reflow","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-reflow","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-reflow/compatibility"}}