emoji-replace
Replace text-based emoticons with emojis
Start with NPM: npm install --save emoji-replace
var emoji_replace = ; //the string containing emoticonsvar str = 'When a boy winks at you :girl: fear not, ;-) back and give him a broad :-)'; //now some emoji replacements.var str = ; console; // >> When a boy winks at you � fear not, � back and give him a broad �