0.1.3 β€’ Published 1 year ago

@qit.tools/unicode-emoji-json-lite v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Unicode Emoji JSON Lite

This πŸ“š library provides a πŸͺΆ lightweight version of the unicode-emoji-json library. Essentially, this library simplifies JSON files by using ready-made JSON from the unicode-emoji-json library.

πŸ—οΈ Install

npm i @qit.tools/unicode-emoji-json-lite

πŸ“ Details

Skin tone variations

Emoji's skin tone variations are consolidated into one base entry, with a tone flag on them.

This means one entry of πŸ‘‹ represents its 5 variations– πŸ‘‹πŸ», πŸ‘‹πŸΌ, πŸ‘‹πŸ½, πŸ‘‹πŸΎ, πŸ‘‹πŸΏ; while raw unicode data list them as individual emoji entries.

The tone flag is present where needed; in other cases, it remains undefined to avoid creating a negative flag.

πŸ“„ Files

data-by-emoji-lite.json:

{
  "πŸ˜€": {
    "name": "grinning face",
    "group": "SE"
  },
  ...
  "πŸ‘‹": {
    "name": "waving hand",
    "group": "PB",
    "tone": true
  },
}

data-by-group-lite.json:

[
  {
    "name": "SE",
    "emojis": [
      {
        "emoji": "πŸ˜€",
        "name": "grinning face"
      },
      ...
    ]
  }
]

data-emoji-components.json:

{
  "light_skin_tone": "🏻",
  "medium_light_skin_tone": "🏼",
  "medium_skin_tone": "🏽",
  "medium_dark_skin_tone": "🏾",
  "dark_skin_tone": "🏿",
  "red_hair": "🦰",
  "curly_hair": "🦱",
  "white_hair": "🦳",
  "bald": "🦲"
}

data-group-shortcuts.json:

{
  "Smileys & Emotion": "SE",
  "People & Body": "PB",
  "Animals & Nature": "AN",
  "Food & Drink": "FD",
  "Travel & Places": "TP",
  "Activities": "A",
  "Objects": "O",
  "Symbols": "S",
  "Flags": "F"
}

data-ordered-emoji.json:

[
  "πŸ˜€",
  "πŸ˜ƒ",
  "πŸ˜„",
  "😁",
  ...
]

Unicode License Agreement

https://www.unicode.org/license.html

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago