/emojify-tag

Primary LanguageJavaScriptMIT LicenseMIT

emojify-tag

Convert emoji codes 💢 to emoji unicode ✨.

Usage

const emojify = require("emojify-tag")
emojify`:sparkles: :hamster:` //"✨ 🐹"

Tagged Template Literals

ES2015 Template Literals have the ability to invoke a function. This feature is called a tagged template literal.