Giter VIP home page Giter VIP logo

emoji.json's Introduction

emoji.json npm

Just an emoji.json.

Generated from emoji-test.txt with this script.

NOTE: There are no Emoji versions 6.0-10.0 as a decision was made in 2017 to align emoji version numbers with their respective Unicode versions starting with version 11.0.

Usage

install with npm

npm install emoji.json then:

var emoji = require('emoji.json')
console.log(emoji[2])
// {
//   codes: '1F604',
//   char: '๐Ÿ˜„',
//   name: 'grinning face with smiling eyes',
//   category: 'Smileys & Emotion'
// }

if you care about file size:

var emojiCompact = require('emoji.json/emoji-compact.json')
console.log(emojiCompact)
// ["๐Ÿ˜€","๐Ÿ˜","๐Ÿ˜‚","๐Ÿคฃ" ...]

fetch from web

emoji.json's People

Contributors

amio avatar greatwizard avatar koddsson avatar npmcdn-to-unpkg-bot avatar richienb avatar steppinghat avatar vandijkstef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

emoji.json's Issues

Keywords

Jump from 12.0.0 to 12.1.0 seems to have lost the keywords property in the JSON; is there a way to get that back, so that the emojis remain more searchable?

Subcategory as separate key

It's handy having the subcategory included in the 'full' JSON, but putting it in the category string means it's much more difficult to separate the emojis into separated categories on user-facing applications (who want the major categories, but likely not so much the subcategories). Could the subcategory be put into a separate subcategory property?

Include Unicode version

I realise this is not directly available on either data source (1, 2) this script is based on, but it would be handy to include in the JSON which version of Unicode introduced which emoji. This way, emojis that are too recent to be reliably reproduced cross-platform could be easily filtered out from end user applications, if desired.

I guess the script could do multiple passes of the different versions of emoji-test.txt (12.0, 11.0, 5.0, 4.0, etc), and compare contents of each to figure out the introduction version for each emoji.

Many can't be displayed properly.

{
"no": 133,
"codes": "1F90E",
"char": "๐ŸคŽ",
"name": "โŠ› brown heart",
"keywords": "brown | heart",
"category": "Smileys & Emotion"
},

new names contain โŠ› symbol

While scrolling through the list i noticed that the new names in the emoji.json begin with the โŠ› symbol.

{
    "no": 67,
    "codes": "1F976",
    "char": "๐Ÿฅถ",
    "name": "โŠ› cold face",
    "keywords": "blue-faced | cold | freezing | frostbite | icicles"
  }

On the unicode.org website it states

Recently-added emoji are marked by a โŠ› in the name and outlined images

Those symbols should probably not be part of the actual name

"Component for use in RGI sequences. Isolated images should ..." in some "keywords" properties (and โŠ› is in some emoji names)

Hi, thanks for the great little dataset! Just a heads up that:

  • The "red hair" and many others contain some bad data in the "keywords" property: "Component for use in RGI sequences. Isolated images should ...". Looks like it should be easy to filter out since these notes seem to consistently come after a new line character. See another example of this in the "safety vest" entry: "Used in a ZWJ sequence for service dog"

  • "guide dog" and many others contain the "new emoji" symbol (โŠ›) in their name.

Cheers!

Translations

Is there a way to get the same list but with languages other than english?

Optionally filter out not fully qualified emoji

Could (perhaps a third flavour of) a JSON file be generated that has filtered out the component, unqualified and minimally-qualified entries, leaving only those marked fully-qualified?

In real-world use cases, typically only the fully-qualified emojis are useful to the end user, and their minimally-qualified and unqualified counterparts tend to be either duplicates or display incorrectly.

And typically of course component emojis would not be displayed to the end user as-is.

Twemoji

im trying to use this with twemoji so i can use :ok_hand: and stuff but i noticed that some names are missing. twemoji has 2000 + emojis hmmm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.