1.3.2 β’ Published 1 year ago
emoji-describer v1.3.2
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