Skip to main content

A static type checker for JavaScript.

# To run a flow check:
flow

# To check which files are being checked by flow:
flow ls

# To run a type coverage check on all files in a directory:
flow batch-coverage --show-all --strip-root <path/to/directory>

# To display line-by-line type coverage stats:
flow coverage --color <path/to/file.jsx>