0.0.5 • Published 8 years ago

emoji-totext v0.0.5

Weekly downloads
11
License
Apache-2.0
Repository
github
Last release
8 years ago

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"