Hacker News new | ask | show | jobs
by matchai 3100 days ago
I typically use the json file from emojilib when parsing emojis.

It is regularly updated and can be added to JS projects as a dependency.

https://github.com/muan/emojilib/blob/master/emojis.json

2 comments

There's also https://github.com/milesj/emojibase which is pretty complete.

They're the only one i found to have a simple to use list of emoji groups.

Yeah there are a lot of lists - but I really needed the HTML Codes for every Emoji. That was the main focus of the list.
Why don't you just compute the HTML Codes from the Unicode codepoints?
Valid point, but that would require server- or client-side processing, right?

I intended with the list in JSON to deliver a as solid base as possible for anyone available to process it like needed.

However, any recommendations for optimization’s or alike are very welcome!

Why?