Run Prettier in Arvis. 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.
npm install -g arvis-prettier
🔗 This workflow is converted from alfred-workflow.
-
Note that there might be some code change or different actions from the original workflow.
-
Marked original workflow's creator to author.