woven/emoji

Simplify library's API

sethladd opened this issue · 1 comments

Any thoughts on removing the EmojiUtil class and just making replaceWithEmojis a top-level function?

Done. Makes sense. Not sharp on when to use/not use a class, but as this looks to be a set of utilities, seems to make sense as simple top-level functions. Thought to consume it as emojiUtil and call emojiUtil.replaceWithEmojis() but that seemed redundant.