Tools
flow-parser is the recommended parser for Flow code and supports the latest Flow syntax. Prettier includes flow-parser by default; see our Prettier guide for configuration.
flow-upgrade provides codemods that migrate your code when Flow deprecates or removes syntax, such as (x: T) casts or {| |} object types.