0.0.9 • Published 2 years ago

@discord-user-card/emojis v0.0.9

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Usage

import { type Category, type Emoji, emojis, emojisByCategory, findEmoji } from "@discord-user-card/emojis";

// Get all emojis
console.log(emojis); // Emoji[]

// Get emojis by category
console.log(emojisByCategory); // { [category: Category]: Emoji[] }

// Find an emoji by name
console.log(findEmoji("+1")); // Emoji | undefined
console.log(findEmoji("thumbsup")); // Emoji | undefined

// Find an emoji by the surrogate
console.log(findEmoji("👍")); // Emoji | undefined

Contributing

The list of emojis is automatically generated from the Discord Source Code (see here). Please do not manually edit the list of emojis. If an emoji is missing or incorrect, please open an issue or a pull request.

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago