muan / emojilib

Emoji keyword library.
https://unpkg.com/emojilib@latest
MIT License
1.67k stars 296 forks source link

No way to find emoji by name #192

Closed misha-erm closed 2 years ago

misha-erm commented 3 years ago

Hi!

I used your lib to replace emoji titles with real emojis, for example :wave: to 👋🏻 . In version 2.4 there was a map name:metadata but now I can't see a way on how to find emoji by name

Any suggestions? Thanks in advance

pietroppeter commented 3 years ago

I am also using this lib for the same purpose. I think the idea with 3.0 is to have this library to be reserved for the keyword aspect and to refer to unicode-emoji-json for basic data about emojis. There you will not find exactly what you asked , but data-by-emoji.json is pretty close to it (replace the emoji in the key with the slug field content). I plan to change dependency to unicode-emoji-json when I upgrade my library (nimoji).

muan commented 2 years ago

https://github.com/muan/emojilib#migrating-from-2x