Package Exports
- gemoji
- gemoji/name-to-emoji
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gemoji) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gemoji
Gemoji (GitHub Emoji) contains info (category, description, names, and tags) on Emoji and GitHub “Gemoji” shortcodes.
Also includes pre-built indexes to map to between names and emoji:
gemoji/emoji-to-name— Map emoji (🐱) to preferred name (cat)gemoji/name-to-emoji— Map name (cat) to emoji (🐱)
Install
npm:
npm install gemojiUse
var gemoji = require('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'
},
// …
]Get emoji
var toEmoji = require('gemoji/name-to-emoji')
console.log(toEmoji.cat)
console.log(toEmoji.poop)Yields:
🐱
💩Get name
var toName = require('gemoji/emoji-to-name')
console.log(toName['🐶'])
console.log(toName['\uD83D\uDCA9'])Yields:
dog
hankeySupported Gemoji
See support.md.
Data
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.
Related
emoji-emotion— List of emoji rated for valenceemoticon— Info on ASCII emoticonsstrip-skin-tone— Strip skin-tones from emoji
Disclaimer
wooorm/gemoji is not affiliated with GitHub.