ios4emoji-convertor
Convert iOS 4.0 emoji to current version emoji
iOS 4 emoji has a huge difference on Unicode
with current version emoji. This project aims to solve coverting problem on old version of emoji.
Installation
npm i ios4emoji-convertor
Example
const ios4emoji = require('ios4emoji-convertor')
const exampleStr = 'I love ~'
console.log(ios4emoji.convert2EmojiCurrent(exampleStr))
// => I love 🍺 ~
ios4emoji.setConvertLib('customLib.json')
console.log(ios4emoji.convert2EmojiCurrent(exampleStr))
// => I love 🍵 ~
License
MIT © MamoruDS