emoji-describer
v1.3.2
Published
An npm package to convert emojis into textual description
Downloads
9
Maintainers
Readme
Welcome !!
Know The Meanings Of Emojis
A simple Node.js package to convert emojis to their textual descriptions. It works for all skin tones.
Installation
You can install the package using npm:
npm i emoji-describer
Usage/Examples
import { getEmojiMeaning } from "emoji-describer";
import { hasEmoji } from "emoji-describer";
import { extractEmojis } from "emoji-describer";
import { processSentence } from "emoji-describer";
console.log(getEmojiMeaning("💎"))
console.log(getEmojiMeaning("👍"))
console.log(getEmojiMeaning("👍🏼")) //works for all skin tones
console.log(hasEmoji("❤️Nature is very beautiful💚🩵"))
console.log(extractEmojis("Lorem 🦁🐹 ipsum 🐓🐳 🤗 lorem 🤣🤲🙌"))
console.log(processSentence(" I'm determined to succeed! 📚💯"))
//Outputs
//gem stone
//thumbs up
//thumbs up
//true
//[ '🦁', '🐹', '🐓','🐳', '🤗', '🤣','🤲', '🙌']
//I'm determined to succeed! BOOKS HUNDRED POINTS SYMBOL