1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34# flow-remove-types-recursive
Apply [`flow-remove-types`](https://github.com/facebook/flow/tree/main/packages/flow-remove-types) to directories
[](https://github.com/antongolub/flow-remove-types-recursive/actions)
[](https://codeclimate.com/github/antongolub/flow-remove-types-recursive/maintainability)
[](https://codeclimate.com/github/antongolub/flow-remove-types-recursive/test_coverage)
[](https://www.npmjs.com/package/flow-remove-types-recursive)
## Install
```shell
# npm
npm i flow-remove-types-recursive
# yarn
yarn add flow-remove-types-recursive
```
## Usage
### CLI
```shell
flow-remove-types-recursive src/main/js target/es6
```
### JS API
```js
import {removeFlowTypesRecursive} from 'flow-remove-types-recursive'
await removeFlowTypesRecursive('src/main/js', 'outdir')
```
## License
[MIT](./LICENSE)