alfred-prettier
Version:
Run Prettier in Alfred
16 lines (9 loc) ⢠596 B
Markdown
# alfred-prettier
Run Prettier in Alfred. Press Enter to copy the output to your clipboard.
Optionally, you can also get the Flow types stripped out. This is handy for running something quickly in a normal JS environment.
š There's a third option to get the Flow types commented out. Flow actually supports a comment-based syntax. See the usage [here](https://flow.org/en/docs/types/comments/).
<img width="605" alt="Screen Shot" src="https://user-images.githubusercontent.com/2268452/54311034-ff291380-4590-11e9-96d4-e4590f4c69b6.png">
## Install
```
npm install -g alfred-prettier
```