slack-emoji-to-ios
v1.0.2
Published
Convert slack emoji strings to iOS emojis
Downloads
4
Readme
Slack string to Emoji
Install
Install using this command
npm i slack-emoji-to-ios
Usage
stringToEmoji accepts valid slack emoji strings as params. If an emoji is not found then an empty string is returned.
const { stringToEmoji, formatString } = require("slack-string-to-emoji");
const emoji = stringToEmoji(":smile:"); // will return 😄
const noEmoji = stringToEmoji(":abcdefg:"); // will return ""
const emojiString = formatString("No problem :smile:"); // will return "No problem 😄"
Emoji's not included
:person_with_pouting_face:
:person_with_pouting_face:
:person_frowning:
:person_frowning:
:person_with_blond_hair: