@rutherford/emoji
v1.1.1
Published
Github emoji shortcodes with official unicode cldr metadata
Downloads
25
Maintainers
Readme
emoji
This emoji module is built by fetching from github's emoji api to get shortcodes, and combining that with category data from unicode.org as well as keywords from CLDR data.
building from source
To fetch fresh data and rebuild the output, clone this repo and run npm run build
.
example
const {fitzpatrickModifiers, emoji} = require("@rutherford/emoji");
> fitzpatrickModifiers
[ "🏻", "🏼", "🏽", "🏾", "🏿" ]
> emoji[0]
{
names: ["grinning"],
char: "😀",
category: "Smileys & Emotion",
subCategory: "face-smiling",
keywords: ["face", "grin", "grinning"],
fitzpatrick: false,
}