diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dd217428..8c116878 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15858,6 +15858,7 @@ packages: /yamljs@0.3.0: resolution: {integrity: sha512-C/FsVVhht4iPQYXOInoxUM/1ELSf9EsgKH34FofQOp6hwCPrW4vG4w5++TED3xRUo8gD7l0P1J1dLlDYzODsTQ==} + hasBin: true dependencies: argparse: 1.0.10 glob: 7.2.3 diff --git a/src/tools/index.ts b/src/tools/index.ts index 72d563d2..3a7d0a04 100644 --- a/src/tools/index.ts +++ b/src/tools/index.ts @@ -102,6 +102,8 @@ import { tool as textToUnicodeNames } from './text-to-unicode-names'; import { tool as torrentToMagnet } from './torrent-to-magnet'; import { tool as ttlCalculator } from './ttl-calculator'; import { tool as unicodeFormatter } from './unicode-formatter'; +import { tool as xmlToJson } from './xml-to-json'; +import { tool as jsonToXml } from './json-to-xml'; import { tool as pdfSignatureChecker } from './pdf-signature-checker'; import { tool as numeronymGenerator } from './numeronym-generator'; import { tool as macAddressGenerator } from './mac-address-generator'; @@ -265,6 +267,8 @@ export const toolsByCategory: ToolCategory[] = [ rmbNumbers, smartRawConverter, weekNumberConverter, + xmlToJson, + jsonToXml, ], }, { diff --git a/src/tools/json-to-xml/index.ts b/src/tools/json-to-xml/index.ts index c35ace2b..79289cb7 100644 --- a/src/tools/json-to-xml/index.ts +++ b/src/tools/json-to-xml/index.ts @@ -2,11 +2,11 @@ import { Braces } from '@vicons/tabler'; import { defineTool } from '../tool'; export const tool = defineTool({ - name: 'JSON to XML', + name: 'Json to XML', path: '/json-to-xml', description: 'Convert JSON to XML', keywords: ['json', 'xml'], component: () => import('./json-to-xml.vue'), icon: Braces, - createdAt: new Date('2024-08-09'), + createdAt: new Date('2024-06-30'), }); diff --git a/src/tools/xml-to-json/index.ts b/src/tools/xml-to-json/index.ts index 8d83f4fe..b5898f52 100644 --- a/src/tools/xml-to-json/index.ts +++ b/src/tools/xml-to-json/index.ts @@ -2,11 +2,11 @@ import { Braces } from '@vicons/tabler'; import { defineTool } from '../tool'; export const tool = defineTool({ - name: 'XML to JSON', + name: 'XML to Json', path: '/xml-to-json', description: 'Convert XML to JSON', keywords: ['xml', 'json'], component: () => import('./xml-to-json.vue'), icon: Braces, - createdAt: new Date('2024-08-09'), + createdAt: new Date('2024-06-30'), });