gimme-emoji
v1.0.3
Published
Provides objects representing data about an emoji
Readme
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:
- random emoji
- an emoji from a particular category
- 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.
