Static export of macOS emoji picker metadata for unicode emojis. ๐
npm i @emoji-platform-data/macosimport { byEmoji, byTitle } from "@emoji-platform-data/macos";
console.log(byEmoji["๐"]);
/*
{
appleName: "octopus",
category: "Nature",
emoji: "๐",
isCommon: true,
keywords: ["octopus", "tentacle", "octopi", "octopuses", "tentacles", ...],
order: 540,
speechName: "an octopus emoji",
unicodeName: "OCTOPUS",
voiceOverName: "an octopus",
}
*/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 MacOSItem describing one emoji as macOS's own emoji picker knows it:
keywordsare the terms the picker searches, ordered by how strongly macOS weights each one for the emoji.orderis the emoji's position in the picker, across all categories.
This package is only static JSON and types, with no runtime dependencies, and its data is also in the combined emoji-platform-data.
This is a snapshot of the emoji search index in macOS's private CoreEmoji.framework, and DEVELOPMENT.md explains how to refresh it.
The keywords, names, and categories are Apple's: this package's MIT license only covers the code that packages them, and this package includes no Apple emoji artwork.