How can I classify emojis in the emojione library?

I am trying to display all emojis available in the emojione library without doing it manually:

<img class="emojione" src="//cdnjs.cloudflare.com/ajax/libs/emojione/1.5.0/assets/png/1F601.png">

      

I looked at emojione.js and I see that there is an emojioneList that contains an array of all the emojis available with their codes. However, there is no category information.

On the other hand, when I look at the emojione website, you can clearly see that they managed to categorize them:

http://emoji.codes/family

I seriously doubt they did it manually or that they have a database to do it. So what am I missing?

+3


source to share


1 answer


The emojione package also includes a json file "emojiione.json" where each emoji is an object with all its associated information (including categories).



+5


source







All Articles