Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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"

Install

npm i emoji-totext

DownloadsWeekly Downloads

6

Version

0.0.5

License

Apache-2.0

Last publish

Collaborators

  • avatar