JSPM

  • Created
  • Published
  • Downloads 3032847
  • Score
    100M100P100Q197793F
  • License MIT

Emoji keyword library.

Package Exports

  • emojilib
  • emojilib/emojis.json

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 (emojilib) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

📖 emojilib Travis CI build status NPM JavaScript Standard Style

Emoji keyword library.

Install

🐦 Bower

bower install emojilib

📦 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