Emojilib (emojilib v0.2.0)
View SourceSummary
Functions
Looks up an Emoji given a short name.
Replace all short names in a string with the appropriate Emoji characters.
Functions
Looks up an Emoji given a short name.
Examples
iex> Emojilib.lookup("wave")
{:ok, "👋"}
iex> Emojilib.lookup("wtf")
{:error, :not_found}
Replace all short names in a string with the appropriate Emoji characters.
Examples
iex> Emojilib.replace(":rocket: straight to the :crescent_moon:!")
"🚀 straight to the 🌙!"