get-emojis
v1.0.0
Published
Extract emojis from a string
Downloads
6
Readme
get-emojis
Given a string, extracts the emojis.
Installation
npm install --save get-emojis
Usage
var getEmojis = require('get-emojis');
var emojis = getEmojis('I ❤️ emoji!');
// emojis will be a list of objects of the form [{ src: '//twemoji.maxcdn.com/36x36/...' }, ...]
console.log('emojis', emojis);