@emoji-platform-data/joypixels
v0.7.0
Published
Static export of JoyPixels (and Zoom) emoji metadata for unicode emojis. ๐
Readme
Usage
npm i @emoji-platform-data/joypixelsimport { byEmoji, byTitle } from "@emoji-platform-data/joypixels";
console.log(byEmoji["โค๏ธ"]);
/*
{
aliases: ["red_heart"],
category: "symbols",
description: "red heart",
emoji: "โค๏ธ",
emoticons: ["<3"],
keywords: ["heart"],
name: "heart",
order: 1317,
unicodeVersion: 1.1,
}
*/byEmojitakes a glyph as any platform writes it, with or without its U+FE0F:byEmoji["โ๏ธ"]andbyEmoji["โ"]are the same entry.byTitletakes a PascalCase Emojipedia title.
Each entry is a JoyPixelsItem describing one emoji as JoyPixels' emoji-toolkit knows it:
nameis the shortcode JoyPixels writes the emoji as, andaliasesare the others it accepts, such asttfor ๐น๐นflag_tt.keywordsare the other terms a picker matches searches against, close to the Unicode CLDR annotations: most emoji have them.emoticonsare only on the few emoji that have them, such as<3for โค๏ธ.orderis the emoji's position in JoyPixels' picker, across all categories.- Emoji the picker doesn't show, mostly the older families such as ๐จโ๐ฉโ๐ฆ and the hair components such as ๐ฆฐ, have no
categoryororder.
Zoom
Zoom's Team Chat emoji picker uses this same shortcode and keyword data, with its own categories and order that aren't in this package.
This package is only static JSON and types, with no runtime dependencies, and its data is also in the combined emoji-platform-data.
Where This Data Comes From
This data is emoji.json from emoji-toolkit, the data package behind JoyPixels, the emoji set formerly known as EmojiOne, with a few changes:
- The version keyword ending each keyword list, such as
uc6, is left out, since that'sunicodeVersion. - Skin tone variants, such as
wave_tone3, are left out, but their few extra keywords are folded into the base emoji, such asprayerfor ๐คฒ. - The digits,
#, and*it lists on their own as keycap parts are left out.
The shortcodes, keywords, categories, and ordering are JoyPixels', under emoji-toolkit's MIT license, and this package includes no JoyPixels emoji artwork.
