1.3.2 β€’ Published 1 year ago

emoji-describer v1.3.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Welcome !!

Know The Meanings Of Emojis

NPM version NPM downloads

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

Authors