Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: muan/emojilib

v3.0.0

14 Jan 15:48

Choose a tag to compare

This version contains breaking changes. The details and discussions can be found at #178.

In short, this repository now only contains emoji character to keywords mapping. All other emoji metadata can be found at https://github.com/muan/unicode-emoji-json.

Migration notes

Previously:

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

Now, combining keywords to data from unicode-emoji-json:

> var data = require('unicode-emoji-json')
> var keywordSet = require('emojilib')
> for (const emoji in data) {
data[emoji]['keywords'] = keywordSet[emoji]
}
> data['πŸ˜€']
{
  name: 'grinning face',
  slug: 'grinning_face',
  group: 'Smileys & Emotion',
  emoji_version: '1.0',
  unicode_version: '1.0',
  skin_tone_support: false,
  keywords: [ 'grinning_face', 'face', 'smile', 'happy', 'joy', ':D', 'grin' ]
}

Previously:

> var emoji = require("emojilib")
> emoji.ordered
[ 'grinning', 'grimacing', 'grin', 'joy', 'smiley', 'smile', 'sweat_smile', ...]

Now this data can be found in unicode-emoji-json:

> var orderedEmoji = require('unicode-emoji-json/data-ordered-emoji')
['πŸ˜€', 'πŸ˜ƒ', 'πŸ˜„', '😁', 'πŸ˜†', 'πŸ˜…',...]

Previously:

> var emoji = require("emojilib")
> emoji.fitzpatrick_scale_modifiers
[ '🏻', '🏼', '🏽', '🏾', '🏿' ]

Now this data can be found in unicode-emoji-json:

> require('unicode-emoji-json/data-emoji-components')
{
  light_skin_tone: '🏻',
  medium_light_skin_tone: '🏼',
  medium_skin_tone: '🏽',
  medium_dark_skin_tone: '🏾',
  dark_skin_tone: '🏿',
  red_hair: '🦰',
  curly_hair: '🦱',
  white_hair: '🦳',
  bald: '🦲'
}

Previously:

> require("emojilib").lib['v'].fitzpatrick_scale
true

> require("emojilib").lib['turtle'].fitzpatrick_scale
false

Now this data can be found in unicode-emoji-json:

> require('unicode-emoji-json')['✌️'].skin_tone_support
true
> require('unicode-emoji-json')['🐒'].skin_tone_support
false

v2.4.0

20 Nov 23:35
3f645c3

Choose a tag to compare

v2.3.0

18 Jul 21:08

Choose a tag to compare

  • Bunch of incorrect fizpatrick_scale flags are fixed, thanks to @infiniteluke
  • Some keywords are added
  • Custom emojis (from GitHub) are no longer in the set, thanks to @bromy

That's all. Have a great day y'all. 🍹

2.2.12

10 Jan 10:53

Choose a tag to compare

  • So many emoji from iOS 11.1‼️ Thanks to @jasonrudolph❗️

I bumped a few more patch numbers cause some hot fixes were needed. πŸ™πŸ» I have since added a test to catch it. πŸ™†πŸ»

2.2.9

10 Jan 10:18

Choose a tag to compare

Bump version to 2.2.9

2.2.8

21 Aug 09:28

Choose a tag to compare

Fix some emoji missing truthy fitzpatrick_scale_modifier flag

2.2.0

15 Mar 23:28

Choose a tag to compare

  • Add test to prevent duplicate emoji entry
  • Match emoji keys with ones of GitHub's (/github/gemoji)
  • Remove custom emoji entries πŸ–• and 🀘 as they're real now

πŸ”ͺ

2.1.0 – Fitzpatrick scale modifiers are here!

13 Feb 10:15

Choose a tag to compare

> emoji.lib.v.fitzpatrick_scale
true

> emoji.lib.turtle.fitzpatrick_scale
false

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

2.0.3

20 Dec 02:57

Choose a tag to compare

  • Many typos were fixed
  • Tests changed, see #79

🍎 🍍

2.0.2

29 Jan 14:03

Choose a tag to compare

This is the real version 2 of emojilib!

  • Most of the new emojis are now in the library! All but the skin toned ones.
  • require('emojilib').lib for the library object,
    require('emojilib').ordered for ordered emoji keys