@nsfmc/sanitarium
Version:
this adds a small tool (`deflow`) for stripping flow types from some js, either stdin or files on disk and outputting to stdout again
38 lines (27 loc) • 562 B
Markdown
# sanitarium
this adds a small tool (`deflow`) for stripping flow types from some js, either stdin or files on disk and outputting to stdout again
## usage as a binary
**installing**
```shell
yarn add -G https://github.com/nsfmc/sanitarium
```
**running**
```shell
deflow < path/to/file.js
pbpaste | deflow
```
## usage via yarn
**installing**
```shell
yarn add https://github.com/nsfmc/sanitarium
cd sanitarium
yarn
```
**running on a file**
```shell
yarn deflow -- < path/to/file.js
```
**running on clipboard**
```shell
pbpaste | yarn deflow --
```