alfred-prettier

Run Prettier in Alfred. Press Enter to copy the output to your clipboard.

Usage no npm install needed!

<script type="module">
  import alfredPrettier from 'https://cdn.skypack.dev/alfred-prettier';
</script>

README

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.

Screen Shot

Install

npm install -g alfred-prettier