emoji-totext

0.0.5 • Public • Published

emoji-totext

npm package to translate emojis to text

Installation

npm install emoji-totext

Usage

var convertemoji = require('emoji-totext');
var str = "I want to eat 🍕";
 
convertemoji.toText(str,function(err,sentence){
    console.log(sentence);
 })

Output should be: 'I want to eat a slice of pizza`

Limitations

  • At this point can only perform evaluations of sentences with only one emoji
  • Not all emojis are "readable"

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i emoji-totext

    Weekly Downloads

    2

    Version

    0.0.5

    License

    Apache-2.0

    Last publish

    Collaborators

    • malayka66