diff --git a/package.json b/package.json index 8040db73..1f737f18 100644 --- a/package.json +++ b/package.json @@ -158,6 +158,7 @@ "fuse.js": "^7.1.0", "generate-schema": "^2.6.0", "get-timezone-offset": "^1.0.5", + "gtin-validator": "^1.0.0", "hash-wasm": "^4.12.0", "haversine": "^1.1.1", "heic-convert": "^2.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 04dfeeca..1409b707 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -362,6 +362,9 @@ dependencies: get-timezone-offset: specifier: ^1.0.5 version: 1.0.5 + gtin-validator: + specifier: ^1.0.0 + version: 1.0.0 hash-wasm: specifier: ^4.12.0 version: 4.12.0 @@ -12515,6 +12518,10 @@ packages: resolution: {integrity: sha512-V4GsyVamhmKefvcAKaoy0h6si0xX7ogwBoBSs2CTJwt7luW0oZzC0LhdkyuKV8PJAXr7Yaj8pMjCKD4GJ+eEMg==} dev: false + /gtin-validator@1.0.0: + resolution: {integrity: sha512-yVH4c/zixK+XPcETYTTi4LDpapBnHq/LQNiEmRgACa9ijJr84hXN8CE8J++xq77uD9YfmZZEIPwJqttCjSoCDw==} + dev: false + /guid-typescript@1.0.9: resolution: {integrity: sha512-Y8T4vYhEfwJOTbouREvG+3XDsjr8E3kIr7uf+JZ0BYloFsttiHU0WfvANVsR7TxNUJa/WpCnw/Ino/p+DeBhBQ==} dev: false diff --git a/src/tools/gtin-validator/gtin-validator.vue b/src/tools/gtin-validator/gtin-validator.vue new file mode 100644 index 00000000..6e2e2b4a --- /dev/null +++ b/src/tools/gtin-validator/gtin-validator.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/tools/gtin-validator/index.ts b/src/tools/gtin-validator/index.ts new file mode 100644 index 00000000..668ab049 --- /dev/null +++ b/src/tools/gtin-validator/index.ts @@ -0,0 +1,13 @@ +import { Barcode } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'GTIN Validator', + path: '/gtin-validator', + description: 'Validate and display information about GTIN (Global Trade Identifier Number formerly EAN Number), UPC and other product codes formats', + keywords: ['gtin', 'validator', 'ean', 'trade', 'identifier'], + component: () => import('./gtin-validator.vue'), + icon: Barcode, + createdAt: new Date('2025-10-03'), + category: 'Barcodes', +});