@kei-g/emojify

Text formatter for `:emoji:` style

Usage no npm install needed!

<script type="module">
  import keiGEmojify from 'https://cdn.skypack.dev/@kei-g/emojify';
</script>

README

Emojify licence npm

coverage dependency maintenance quality GitHub CI (Build) GitHub CI (Coverage) travis

Emojify - a text formatter for :emoji: style

Installation

npm i @kei-g/emojify -g

Usage

To format emojis simply, then you'll see :star: Hello world :tada:,

echo :star: Hello world :tada: | emojify

And to see available emojis list,

emojify -l

emojify with git

To see emojified git logs,

mkdir play-with-emojify
cd play-with-emojify
git init
touch .gitkeep
git add .
git commit -m ":tada: Initial commit"
git log --color | emojify

To configure git to use emojify as pager; for example, on :penguin: linux,

git config --global core.pager 'emojify | less -R'

TODO

  • features
    • customizable dictionary of emojis
    • provide a method for escaped colons
  • quality
    • coverage
      • failure cases of parsing emojis' dictionary