emoji-lang
v1.0.7
Published
Parse emoji from strings
Downloads
21
Readme
emoji-lang
Try it out live in your browser: http://cameronhunter.github.io/emoji-lang
Example usage
import Parser from 'emoji-lang';
console.log(Parser.parse('Hello 🌎!'));
returns:
{
"text": "Hello 🌎!",
"emoji": [
{ "character": "🌎", "indices": [6, 8] }
]
}
Useful resources
- https://r12a.github.io/apps/conversion