Skip to main content

emojibase

Build Status npm version npm deps jsDelivr Hits

Emojibase, the ultimate emoji database.

A collection of lightweight, up-to-date, pre-generated, specification compliant, localized emoji JSON datasets, regex patterns, and more.

Features#

Documentation#

https://emojibase.dev

Index

Type aliases

CodePoint

CodePoint: number

Emoticon

Emoticon: string

FlatCompactEmoji

FlatCompactEmoji: Omit<CompactEmoji, skins>

FlatEmoji

FlatEmoji: Omit<Emoji, skins>

Gender

Gender: 0 | 1

GenderKey

GenderKey: female | male

Group

Group: number

GroupKey

GroupKey: activities | animals-nature | component | flags | food-drink | objects | people-body | smileys-emotion | symbols | travel-places

Hexcode

Hexcode: string

HexcodesDataset

HexcodesDataset: Record<Hexcode, Record<Hexcode, Qualifier>>

Locale

Locale: da | de | en-gb | en | es-mx | es | et | fi | fr | hu | it | ja | ko | lt | ms | nb | nl | pl | pt | ru | sv | th | uk | zh-hant | zh

LocalizedShortcodePreset

LocalizedShortcodePreset: `${Locale}/${ShortcodePreset}`

Presentation

Presentation: 0 | 1

PresentationKey

PresentationKey: emoji | text

Qualifier

Qualifier: 0 | 1 | 2

Shortcode

Shortcode: string

ShortcodePreset

ShortcodePreset: cldr-native | cldr | discord | emojibase-legacy | emojibase-native | emojibase | github | iamcal | joypixels | slack

ShortcodesDataset

ShortcodesDataset: Record<Hexcode, string[] | string>

SkinTone

SkinTone: 1 | 2 | 3 | 4 | 5

SkinToneKey

SkinToneKey: dark | light | medium-dark | medium-light | medium

Subgroup

Subgroup: number

SubgroupKey

SubgroupKey: alphanum | animal-amphibian | animal-bird | animal-bug | animal-mammal | animal-marine | animal-reptile | arrow | arts-crafts | av-symbol | award-medal | body-parts | book-paper | cat-face | clothing | computer | country-flag | currency | dishware | drink | emotion | event | face-affection | face-concerned | face-costume | face-glasses | face-hand | face-hat | face-negative | face-neutral-skeptical | face-sleepy | face-smiling | face-tongue | face-unwell | family | flag | food-asian | food-fruit | food-marine | food-prepared | food-sweet | food-vegetable | game | gender | geometric | hair-style | hand-fingers-closed | hand-fingers-open | hand-fingers-partial | hand-prop | hand-single-finger | hands | hotel | household | keycap | light-video | lock | mail | math | medical | money | monkey-face | music | musical-instrument | office | other-object | other-symbol | person-activity | person-fantasy | person-gesture | person-resting | person-role | person-sport | person-symbol | person | phone | place-building | place-geographic | place-map | place-other | place-religious | plant-flower | plant-other | punctuation | religion | science | skin-tone | sky-weather | sound | sport | subdivision-flag | time | tool | transport-air | transport-ground | transport-sign | transport-water | warning | writing | zodiac

Unicode

Unicode: string

VersionDataset

VersionDataset: Record<string, string[]>

Variables

DARK_SKIN

DARK_SKIN: SkinTone = 5

EMOJI

EMOJI: Presentation = 1

EMOJI_VERSIONS

EMOJI_VERSIONS: string[] = ...

EMOTICON_OPTIONS

EMOTICON_OPTIONS: Record<string, PermutationOptions> = ...

FEMALE

FEMALE: Gender = 0

FIRST_UNICODE_EMOJI_VERSION

FIRST_UNICODE_EMOJI_VERSION: 6.0.0 = '6.0.0'

FULLY_QUALIFIED

FULLY_QUALIFIED: Qualifier = 0

GROUP_KEY_ACTIVITIES

GROUP_KEY_ACTIVITIES: GroupKey = 'activities'

GROUP_KEY_ANIMALS_NATURE

GROUP_KEY_ANIMALS_NATURE: GroupKey = 'animals-nature'

GROUP_KEY_COMPONENT

GROUP_KEY_COMPONENT: GroupKey = 'component'

GROUP_KEY_FLAGS

GROUP_KEY_FLAGS: GroupKey = 'flags'

GROUP_KEY_FOOD_DRINK

GROUP_KEY_FOOD_DRINK: GroupKey = 'food-drink'

GROUP_KEY_OBJECTS

GROUP_KEY_OBJECTS: GroupKey = 'objects'

GROUP_KEY_PEOPLE_BODY

GROUP_KEY_PEOPLE_BODY: GroupKey = 'people-body'

GROUP_KEY_SMILEYS_EMOTION

GROUP_KEY_SMILEYS_EMOTION: GroupKey = 'smileys-emotion'

GROUP_KEY_SYMBOLS

GROUP_KEY_SYMBOLS: GroupKey = 'symbols'

GROUP_KEY_TRAVEL_PLACES

GROUP_KEY_TRAVEL_PLACES: GroupKey = 'travel-places'

LATEST_CLDR_VERSION

LATEST_CLDR_VERSION: 40-beta3 = '40-beta3'

LATEST_EMOJI_VERSION

LATEST_EMOJI_VERSION: 14.0 = '14.0'

LATEST_UNICODE_VERSION

LATEST_UNICODE_VERSION: 14.0.0 = '14.0.0'

LIGHT_SKIN

LIGHT_SKIN: SkinTone = 1

MALE

MALE: Gender = 1

MEDIUM_DARK_SKIN

MEDIUM_DARK_SKIN: SkinTone = 4

MEDIUM_LIGHT_SKIN

MEDIUM_LIGHT_SKIN: SkinTone = 2

MEDIUM_SKIN

MEDIUM_SKIN: SkinTone = 3

MINIMALLY_QUALIFIED

MINIMALLY_QUALIFIED: Qualifier = 1

SEQUENCE_REMOVAL_PATTERN

SEQUENCE_REMOVAL_PATTERN: RegExp = ...

SKIN_KEY_DARK

SKIN_KEY_DARK: SkinToneKey = 'dark'

SKIN_KEY_LIGHT

SKIN_KEY_LIGHT: SkinToneKey = 'light'

SKIN_KEY_MEDIUM

SKIN_KEY_MEDIUM: SkinToneKey = 'medium'

SKIN_KEY_MEDIUM_DARK

SKIN_KEY_MEDIUM_DARK: SkinToneKey = 'medium-dark'

SKIN_KEY_MEDIUM_LIGHT

SKIN_KEY_MEDIUM_LIGHT: SkinToneKey = 'medium-light'

SUPPORTED_LOCALES

SUPPORTED_LOCALES: Locale[] = ...

TEXT

TEXT: Presentation = 0

UNICODE_VERSIONS

UNICODE_VERSIONS: string[] = ...

UNQUALIFIED

UNQUALIFIED: Qualifier = 2