emoji-describer
Version:
An npm package to convert emojis into textual description
53 lines (32 loc) β’ 1.4 kB
Markdown
# Welcome !!
## Know The Meanings Of Emojis
[](https://www.npmjs.com/package/emoji-describer)
[](https://www.npmjs.com/package/emoji-describer)
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:
```bash
npm i emoji-describer
```
## Usage/Examples
```javascript
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
- [@sujalforselfuse](https://www.github.com/sujalforselfuse)