scan a directory to see if FlowType is in use
npm install detect-flowtypescan a directory to see if FlowType is in use
``sh`
npm install --save detect-flowtype
`js`
const { annotatedFiles } = require('detect-flowtype')
locate any files that contain // @flow or / @flow /
true if any files contain // @flow or / @flow /
true` if there is a ".flowconfig" file
- FlowType
- globby
- p-filter
- pify