ios4emoji-convertor

0.1.1 • Public • Published

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.😉

More info about iOS 4 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

Readme

Keywords

Package Sidebar

Install

npm i ios4emoji-convertor

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

8.3 kB

Total Files

9

Last publish

Collaborators

  • mamoruds