From 3917e57c64ed007715324ef02f64624ede2b836d Mon Sep 17 00:00:00 2001 From: Sefinek Date: Wed, 20 Dec 2023 08:42:39 +0100 Subject: [PATCH] Fixes --- README.md | 2 +- examples/table.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 });