emojiCoder
is a simple npm package that converts regular text into emoji-representative text. For example, it can convert "I love pizza" into "I ❤️ 🍕".
You can install emojiCoder
via npm:
npm install emojicoder
const emojiCoder = require('emojiCoder');
const emojiText = emojiCoder('I love pizza and coffee');
console.log(emojiText); // Prints: I ❤️ 🍕 and ☕
If you have suggestions for how emojiCoder could be improved, or want to report a bug, open an issue! We'd love all and any contributions.