1.1.1 • Published 4 years ago

@rutherford/emoji v1.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

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,
}