1.0.2 • Published 3 years ago

slack-emoji-to-ios v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

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:

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago