diff --git a/README.md b/README.md index ee2d932..85c7fd6 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ const random = require('@sefinek/random-emoji'); // 1. A single emoji console.log(random.unicode()); // 🥰 -// 2. Random emoji with name and type +// 2. Random emoji along with its visual representation, name, and category const emoji = random.emojis(); console.log(`Emoji: ${emoji.content}; Name: ${emoji.name}; Type: ${emoji.type}`); // Emoji: 🐶; Name: Dog Face; Type: animal diff --git a/examples/table.js b/examples/table.js index 7026ad9..0072736 100644 --- a/examples/table.js +++ b/examples/table.js @@ -5,7 +5,7 @@ async function displayEmojiData() { // Get a single random Unicode emoji data.push({ Function: 'unicode()', Emoji: random.unicode().trim() }); - // Retrieves a random emoji with its name, visual representation, and type + // Retrieves a random emoji, including its visual representation, name, and category const emoji = random.emojis(); data.push({ Function: 'emojis()', Emoji: emoji.content.trim(), Name: emoji.name, Type: emoji.type });