πŸ“– Emoji keyword library.
JavaScript
Clone or download
Latest commit 6249c05 Jul 18, 2018

README.md

πŸ“– emojilib Travis CI build status NPM JavaScript Standard Style

Emoji keyword library.

Install

πŸ“¦ NPM

npm install emojilib --save

Usage

> var emoji = require("emojilib")
> emoji.lib
{
  "grinning": {
    "keywords": ["face", "smile", "happy", "joy"],
    "char": "πŸ˜€",
    "fitzpatrick_scale": false,
    "category": "people"
  },
  "grin": {
    "keywords": ["face", "happy", "smile", "joy"],
    "char": "😁",
    "fitzpatrick_scale": false,
    "category": "people"
  },
  ...
}

> emoji.ordered
[ 'grinning', 'grimacing', 'grin', 'joy', 'smiley', 'smile', 'sweat_smile', ...]

> emoji.fitzpatrick_scale_modifiers
[ '🏻', '🏼', '🏽', '🏾', '🏿' ]

> emoji.lib.v.fitzpatrick_scale
true

> emoji.lib.turtle.fitzpatrick_scale
false

> emoji.lib.v.char + emoji.fitzpatrick_scale_modifiers[4]
'✌🏿'

πŸ”Œ Powered by emojilib