README
🗒 Twemoji support list
Installation
npm install --save twemoji-support-list
Usage
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'
}
If you only need the list file
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'