Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 942 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 942 Bytes

🗒 Twemoji support list

Test npm

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'