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.
MIT Β© Titus Wormer