From 2593df0ef5c326a90f09c8d4dce9c84a3eadfe2a Mon Sep 17 00:00:00 2001 From: ShareVB Date: Thu, 8 May 2025 14:01:21 +0200 Subject: [PATCH] feat(new tool): Distinct Words Counter --- src/tools/distinct-words/distinct-words.vue | 35 +++++++++++++++++++++ src/tools/distinct-words/index.ts | 13 ++++++++ 2 files changed, 48 insertions(+) create mode 100644 src/tools/distinct-words/distinct-words.vue create mode 100644 src/tools/distinct-words/index.ts diff --git a/src/tools/distinct-words/distinct-words.vue b/src/tools/distinct-words/distinct-words.vue new file mode 100644 index 00000000..56806bb1 --- /dev/null +++ b/src/tools/distinct-words/distinct-words.vue @@ -0,0 +1,35 @@ + + + diff --git a/src/tools/distinct-words/index.ts b/src/tools/distinct-words/index.ts new file mode 100644 index 00000000..20922a58 --- /dev/null +++ b/src/tools/distinct-words/index.ts @@ -0,0 +1,13 @@ +import { FileText } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Distinct Words', + path: '/distinct-words', + description: 'Extract and count occurences of each unique word in a text', + keywords: ['distinct', 'words'], + component: () => import('./distinct-words.vue'), + icon: FileText, + createdAt: new Date('2025-05-01'), + category: 'Text', +});