Skip to content

dawranliou/emoji

Repository files navigation

emoji

Clojars Project cljdoc badge CircleCI

Emoji for Clojure

Usage

(require '[emoji.core :as e])

(e/emojify "Clojure is awesome :thumbsup:")
;; => "Clojure is awesome 👍"

(e/demojify "Clojure is awesome 👍")
;; => "Clojure is awesome :thumbsup:"


;; Emojify everything
(e/emojify-all "pen pineapple apple pen")
;; => "pen 🍍 🍎 pen"

License

Copyright © 2019 Daw-Ran Liou

Distributed under the MIT License