Emojibase Data
Install the package.
yarn add emojibase-data
Import and use the localized JSON dataset.
import data from 'emojibase-data/en/data.json';
Or fetch the dataset from our CDN.
import { fetchFromCDN, fetchEmojis, fetchShortcodes } from 'emojibase';
const englishEmojis = await fetchFromCDN('en/data.json', { shortcodes: ['github'] });
const japaneseCompactEmojis = await fetchEmojis('ja', { compact: true });
const germanCldrShortcodes = await fetchShortcodes('de', 'cldr');
Documentation
https://emojibase.dev/docs/datasets