Gemoji (GitHub Emoji) contains info (category, description, names, and tags) on Emoji and GitHub “Gemoji” shortcodes.
This package is ESM only: Node 12+ is needed to use it and it must be import
ed
instead of require
d.
npm:
npm install gemoji
import {gemoji} from 'gemoji'
console.log(gemoji)
Yields:
[
{
emoji: '😀',
names: ['grinning'],
tags: ['smile', 'happy'],
description: 'grinning face',
category: 'Smileys & Emotion'
},
{
emoji: '😃',
names: ['smiley'],
tags: ['happy', 'joy', 'haha'],
description: 'grinning face with big eyes',
category: 'Smileys & Emotion'
},
{
emoji: '😄',
names: ['smile'],
tags: ['happy', 'joy', 'laugh', 'pleased'],
description: 'grinning face with smiling eyes',
category: 'Smileys & Emotion'
},
{
emoji: '😁',
names: ['grin'],
tags: [],
description: 'beaming face with smiling eyes',
category: 'Smileys & Emotion'
},
{
emoji: '😆',
names: ['laughing', 'satisfied'],
tags: ['happy', 'haha'],
description: 'grinning squinting face',
category: 'Smileys & Emotion'
},
// …
]
import {nameToEmoji} from 'gemoji'
console.log(nameToEmoji.cat)
console.log(nameToEmoji.poop)
Yields:
🐱
💩
import {emojiToName} from 'gemoji'
console.log(emojiToName['🐶'])
console.log(emojiToName['\uD83D\uDCA9'])
Yields:
dog
hankey
This package exports the following identifiers: gemoji
, nameToEmoji
,
emojiToName
.
There is no default export.
Info[]
, where each Info
is Object
with:
emoji
:string
, example:😀
names
:string[]
, example:['grinning']
tags
:string[]
, example:['smile', 'happy']
description
:string
, example:grinning face
category
:string
, example:Smileys & Emotion
Object.<string, string>
— map names (100
) to emoji (💯
).
Object.<string, string>
— map names (😀
) to emoji (grinning
).
See support.md.
The emoji list is crawled from github/gemoji
and later processed for
relevant information.
See its license for more information.
No images are included in this repository: the copyrighted material may or may not be available on the users computer.
emoji-emotion
— List of emoji rated for valenceemoticon
— Info on ASCII emoticonsstrip-skin-tone
— Strip skin-tones from emojiwooorm.com/checkmoji
— Check emoji across platforms
wooorm/gemoji
is not affiliated with GitHub.