Socket
Book a DemoInstallSign in
Socket

@discord-user-card/emojis

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discord-user-card/emojis

All the emojis supported by Discord (User Card)

latest
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

@Discord-User-Card/Emojis

NPM Version CI Status

All the emojis supported by Discord (User Card)

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.

Keywords

discord

FAQs

Package last updated on 08 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts