npm install --save twemoji-support-list
import twemoji from "twemoji";
import twemojiSupportList from 'twemoji-support-list';
const unknownSourceEmoji = '😀';
const emojiCodePoint = twemoji.convert.toCodePoint( unknownSourceEmoji );
if ( twemojiSupportList.has( emojiCodePoint ) ) {
// Twemoji has an image for 'unknownSourceEmoji'
}
git clone https://github.com/abgita/twemoji-support-list.git
cd twemoji-support-list
npm install && npm run fetch
Then get it from './src/supported-emojis.json'