JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 121573
  • Score
    100M100P100Q207002F
  • License MIT

GitHub emoji: gemoji

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

Build Coverage Downloads Size

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:

Install

npm:

npm install gemoji

Use

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
hankey

Supported 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.

Disclaimer

wooorm/gemoji is not affiliated with GitHub.

License

MIT © Titus Wormer