• Stars
    star
    278
  • Rank 143,820 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Emoji data from unicode.org as easily consumable JSON files.

Unicode Emoji JSON Test status

This library provides a up-to-date version of emoji data from Unicode in JSON format, in a number of easily consumable file structures.

Check out muan/emojilib for emoji keyword pairings for extended searchability.

Details

RGI only

This data does not contain minimally-qualified and unqualified emoji.

RGI: Recommended for General Interchange. A subset of emojis which is likely to be widely supported across multiple platforms.

Minimally-qualified or unqualified emoji zwj sequences may be handled in the same way as their fully-qualified forms; the choice is up to the implementation.

Full description can be found at http://www.unicode.org/reports/tr51/.

Skin tone variations

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

This means one entry of ๐Ÿ‘‹ represents its 5 variationsโ€“ ๐Ÿ‘‹๐Ÿป, ๐Ÿ‘‹๐Ÿผ, ๐Ÿ‘‹๐Ÿฝ, ๐Ÿ‘‹๐Ÿพ, ๐Ÿ‘‹๐Ÿฟ; while raw unicode data list them as individual emoji entries.

Files

data-by-emoji.json:

{
  "๐Ÿ˜€": {
    "name": "grinning face",
    "slug": "grinning_face",
    "group": "Smileys & Emotion",
    "emoji_version": "2.0",
    "unicode_version": "6.1",
    "skin_tone_support": false
  },
  ...
  "๐Ÿ‘‹": {
    "name": "waving hand",
    "slug": "waving_hand",
    "group": "People & Body",
    "emoji_version": "2.0",
    "unicode_version": "6.0",
    "skin_tone_support": true,
    "skin_tone_support_unicode_version": "8.0"
  },
}

data-by-group.json:

{
  "Smileys & Emotion": [
    {
      "emoji": "๐Ÿ˜€",
      "skin_tone_support": false,
      "name": "grinning face",
      "slug": "grinning_face",
      "unicode_version": "6.1",
      "emoji_version": "2.0"
    },
  ],
  ...
}

data-ordered-emoji.json:

[
  "๐Ÿ˜€",
  "๐Ÿ˜ƒ",
  ...
]

data-emoji-components.json:

{
  "light_skin_tone": "๐Ÿป",
  "medium_light_skin_tone": "๐Ÿผ",
  ...
}

Development

  1. npm install

Install dependencies.

  1. npm run download

Download the latest data dump from unicode.org. Update the version variable in this file when a new version is available. Experiment with a version by passing an argument for version number: npm run download 13.0.

  1. npm run build

Parse and format the downloaded data into different files for distribution. This script also generates stats.json for use in test. Update the parser if the content format from unicode data has changed.

  1. npm test

Run test that ensures the build data matches the count of emoji parsed from the data source.

A common People's category test failure after an Emoji version upgrade might be that there are new dual skin tone emoji unaccounted for. Verify this by reading through the change log and see if there are any emoji that can be modified with two skin tone modifiers and add them to generate-emoji-counts.js then run npm run build which will update stats.json; then run the test again. This isn't automated currently. See #3.

Unicode License Agreement

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

More Repositories

1

emoji

๐Ÿ’Œ Find the emoji that echoes your mind.
CSS
2,193
star
2

mojibar

๐ŸŠ Emoji searcher but as a menubar app.
JavaScript
2,042
star
3

emojilib

Emoji keyword library.
JavaScript
1,626
star
4

github-gmail

[WebExtension] Open GitHub notifications with shortcuts in Gmail.
JavaScript
1,150
star
5

emoji-minesweeper

๐Ÿ’ฅ๐Ÿ’ฃ๐Ÿ’ฅ
JavaScript
865
star
6

github-dashboard

[Web extension] Filter events on github.com activity dashboard.
JavaScript
811
star
7

scribble

๐Ÿ… A Jekyll theme.
HTML
770
star
8

paint-github

[WebExtension] Draw your GitHub comment.
JavaScript
414
star
9

site

My personal site โœŒ๐Ÿผ.
HTML
340
star
10

details-on-details

Details on <details> @ Brooklyn JS 2018/07/19.
282
star
11

megamoji

๐Ÿ‘ Making megamojis like a pro.
JavaScript
170
star
12

spiffing

CSS preprocessor for British English writers, as implemented by @idiot in SpiffingCSS.
Ruby
97
star
13

romanize-names

Romanize names in Traditional Chinese (zh-TW).
JavaScript
97
star
14

emoji-cli

๐Ÿ‘Œ Emoji searcher but as a CLI app.
Ruby
84
star
15

hello-world

๐Ÿ™†โ€โ™€๏ธ Are you a beginner? send your test pull requests here!
HTML
76
star
16

jekyll-wardrobe

[DEAD] A collection of Jekyll themes for blogs.
CSS
74
star
17

scribble-electron

๐Ÿ’ฅ Electron & LocalStorage powered note taking app.
JavaScript
66
star
18

submarine

๐Ÿšฃ Markdown files to a static site
JavaScript
64
star
19

bingo-board

Play bingo ๐Ÿ’ฅ by sending pull requests!
JavaScript
33
star
20

emoji-search

๐Ÿ” Searching.
JavaScript
31
star
21

micropub-endpoint

Receives requests.
JavaScript
30
star
22

booth

Basic Photo Booth on a web page.
HTML
29
star
23

url-to-chart

URL to chart.
JavaScript
26
star
24

headings

A bookmarklet for generating HTML heading outlines.
JavaScript
23
star
25

paint-canvas-element

<paint-canvas> custom element.
JavaScript
21
star
26

deploying-with-now

A simple node server demo for deploying with https://zeit.co/now.
JavaScript
21
star
27

analog-clock-element

A Custom Element for an analog clock.
JavaScript
18
star
28

muan

It me.
17
star
29

shortcuts-cfimages-action

๏ฃฟ Shortcuts โ†’ Cloudflare Images โ†’ GitHub Action
JavaScript
16
star
30

discord-webhooks

A server processing webhook data from Heroku and passing them to Discord, deployed to Vercel.
JavaScript
15
star
31

sq

HTML
14
star
32

avatar

Avatar framer.
HTML
14
star
33

stories-feed-action

iCloud Shared Album โ†’ GitHub Action โ†’ Jekyll data files
JavaScript
14
star
34

kickstarter

Create a landing page for your Kickstarter project in less than 5 steps.
CSS
14
star
35

micropub-content

Gets content.
HTML
13
star
36

confetti

Who's awesome? ๐ŸŽŠ
HTML
13
star
37

github-dashboard.safariextension

[Safari extension] Filter events on github.com activity dashboard.
JavaScript
12
star
38

input-duration-element

A Custom Element for <input type="duration">.
JavaScript
11
star
39

emoji-go

Emoji command line thing in Go (learning project).
Go
10
star
40

whacamu

Another whac-a-mole game. I was bored.
CSS
10
star
41

micropub-client

Sends requests.
JavaScript
10
star
42

hasAppleColorEmoji

๐ŸŽ Do you have AppleColorEmoji?
JavaScript
9
star
43

postcard.support

9
star
44

muan.css

Default styles.
CSS
7
star
45

pivotal-tweaker

๐Ÿ’€ This is not a thing anymore.
JavaScript
7
star
46

unicode-mandarin-readings

๐Ÿˆฒ Chinese unicode and their corresponding mandarin readings.
JavaScript
6
star
47

ab-rust

GUESS A NUMBER WITH RUST. ๐Ÿฆ€
Rust
6
star
48

text-image

JavaScript
6
star
49

railsgirls

Demonstrating GitHub Pages live at Rails Girls London workshop on 5 October 2013.
6
star
50

sk8ter

Wow such sk8ter
CSS
5
star
51

ab

A game
JavaScript
5
star
52

spiffing-node

My first node module!!!
JavaScript
5
star
53

rss

wip - cause we all need to roll our own rss reader obviously
4
star
54

gntu

you're still in the running towards becoming github's next top user
JavaScript
4
star
55

mu-an-element

Don't mind me I realized I can be a custom element.
JavaScript
4
star
56

okfine-github

๐Ÿคซ
JavaScript
3
star
57

test

Test repo ok. no js
3
star
58

react-test

Playing with React.
HTML
3
star
59

sfnsp

HTML
3
star
60

emoji-swift

Emoji command line thing in Swift (learning project).
Swift
3
star
61

3d

3D!
2
star
62

github-dashboard-safari

WIP [Safari Web extension] Filter events on github.com activity dashboard.
Swift
2
star
63

-

2
star
64

danbing

Get your daily supply of danbing.
JavaScript
2
star
65

headinglevelstart-polyfill

JavaScript
1
star
66

coolgraph

Check out the netowrk graph.
1
star
67

kids

HTML
1
star
68

mdsh

node module. markdown in terminal. super inconsistent.
JavaScript
1
star
69

deprecated

๐Ÿ‘น
HTML
1
star
70

jekyll-includes

Test case for indented includes tag issue
HTML
1
star
71

comeagain

ok
1
star
72

labels

1
star
73

195-labels

1
star
74

mozfest-hi

Fork n' go page for mozfest 2015 workshop.
HTML
1
star
75

soevil

๐Ÿฌ
1
star
76

bubbles

๐Ÿ’ฌ ๐Ÿ”ฅ โšพ
JavaScript
1
star
77

fun-fact

<fun-fact />
1
star
78

inktober-19

Coming soon.
1
star
79

194-labels

1
star