flow

A static type checker for JavaScript. More information: <https://flow.org>.

Install

All systems
curl cmd.cat/flow.sh
Debian Debian
apt-get install graywolf
Ubuntu
apt-get install graywolf
image/svg+xml Kali Linux
apt-get install graywolf
Windows (WSL2)
sudo apt-get update sudo apt-get install graywolf
OS X
brew install flow
Raspbian
apt-get install graywolf

A static type checker for JavaScript. More information: <https://flow.org>.

  • Run a flow check:
    flow
  • Check which files are being checked by flow:
    flow ls
  • Run a type coverage check on all files in a directory:
    flow batch-coverage --show-all --strip-root path/to/directory
  • Display line-by-line type coverage stats:
    flow coverage --color path/to/file.jsx

© tl;dr; authors and contributors