@rutherford/emoji

1.1.1 • Public • Published

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

Package Sidebar

Install

npm i @rutherford/emoji

Weekly Downloads

3

Version

1.1.1

License

ISC

Unpacked Size

272 kB

Total Files

3

Last publish

Collaborators

  • ethanrutherford