1.0.3 • Published 8 years ago

gimme-emoji v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

gimme-emoji

A set of methods to return a JavaScript object containing a load of properties relating to a particular emoji.

Methods exist to return the object for a:

  1. random emoji
  2. an emoji from a particular category
  3. a specific emoji as defined by its short name

Example object

{
  "name": "convenience_store",
  "shorthand": ":convenience_store:",
  "category": "places"
}

Usage

anyEmoji() - a random one

emojiOfCategory(<category>) - random by category

specificEmoji(<name>) - name corresponds to name property in the object

getCategories - returns an array of all available categories

getNames - returns an array of all emoji names

Categories

  • people
  • nature
  • objects
  • places
  • symbols

Sources of information

http://www.emoji-cheat-sheet.com/

Contributing

Contributions welcome as I am lazy and always happy to do less work.