Skip to content

kei-g/emojify-js

Emojify licence npm

coverage dependency maintenance quality

emojify - a text formatter for :emoji: style

CI Status

Workflow Name Status
Build GitHub CI (Build)
CodeQL GitHub CI (CodeQL)
Coverage GitHub CI (Coverage)

Installation

npm i @kei-g/emojify -g

Usage

To format emojis simply, then you'll see ⭐ Hello world 🎉,

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 🐧 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

License

The scripts and documentation in this project are released under the BSD-3-Clause License

Contributions

Contributions are welcome! See Contributor's Guide

Code of Conduct

👏 Be nice. See our code of conduct