# rescript-react-intl-extractor-bin

macOS, Linux and Windows binaries for [rescript-react-intl-extractor].

[rescript-react-intl-extractor] extracts messages for localization from [ReScript] source files.

This assumes that you are using the [rescript-react-intl] bindings for [react-intl].

## Installation

This package may be installed globally or locally with either `npm` or `yarn`.

For example, run

```sh
npm install -g rescript-react-intl-extractor-bin
```

for global installation.

## Usage

After global installation, `rescript-react-intl-extractor` will be available in your path. Run e.g.

```sh
rescript-react-intl-extractor src
```

to extract messages from all ReScript source files below `src`.

For more information, see the [rescript-react-intl-extractor] repo.

[rescript]: https://rescript-lang.org
[react-intl]: https://github.com/yahoo/react-intl
[rescript-react-intl]: https://github.com/cca-io/rescript-react-intl
[rescript-react-intl-extractor]: https://github.com/cca-io/rescript-react-intl-extractor
