notwaldorf / emoji-translate

:books: Translate text to ✨emoji ✨!
http://meowni.ca/emoji-translate/
MIT License
1.2k stars 124 forks source link

Custom emoji mapping #35

Closed madsroskar closed 3 years ago

madsroskar commented 5 years ago

I realize this PR is a bit edge case, so feel free to close this PR if it's not wanted in the codebase. 🙂

I wanted to use emoji-translate in a small project I'm doing, but I also wanted to be able to add my own custom keywords to emoji, and my own emoji altogether, so I added a function to be able to do so.

I'm a bit wordblind on the words "emoji" and "mapping" right now, so if the naming of something or something else doesn't make sense, please just point it out to me 😵