๐Ÿ“ฆ antongolub / flow-remove-types-recursive

๐Ÿ“„ README.md ยท 34 lines
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

[![CI](https://github.com/antongolub/flow-remove-types-recursive/workflows/CI/badge.svg)](https://github.com/antongolub/flow-remove-types-recursive/actions)
[![Maintainability](https://api.codeclimate.com/v1/badges/01d443126088af2769bb/maintainability)](https://codeclimate.com/github/antongolub/flow-remove-types-recursive/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/01d443126088af2769bb/test_coverage)](https://codeclimate.com/github/antongolub/flow-remove-types-recursive/test_coverage)
[![npm (tag)](https://img.shields.io/npm/v/flow-remove-types-recursive)](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)