diff --git a/src/tools/json-flatten-nestify/index.ts b/src/tools/json-flatten-nestify/index.ts new file mode 100644 index 00000000..d6a141bf --- /dev/null +++ b/src/tools/json-flatten-nestify/index.ts @@ -0,0 +1,13 @@ +import { Braces } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'JSON Flattener/Unflattener', + path: '/json-flatten-nestify', + description: 'Flatten or nestify/unflatten JSON content (ie, {a:{b:1}} vs {"a.b":1}', + keywords: ['json', 'flatten', 'nestify', 'unflatten'], + component: () => import('./json-flatten-nestify.vue'), + icon: Braces, + createdAt: new Date('2025-07-19'), + category: 'JSON', +}); diff --git a/src/tools/json-flatten-nestify/json-flatten-nestify.vue b/src/tools/json-flatten-nestify/json-flatten-nestify.vue new file mode 100644 index 00000000..98f1e516 --- /dev/null +++ b/src/tools/json-flatten-nestify/json-flatten-nestify.vue @@ -0,0 +1,57 @@ + + + diff --git a/src/tools/yaml-flatten-nestify/index.ts b/src/tools/yaml-flatten-nestify/index.ts new file mode 100644 index 00000000..8ee614e9 --- /dev/null +++ b/src/tools/yaml-flatten-nestify/index.ts @@ -0,0 +1,14 @@ +import { AlignJustified } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'YAML Flattener/Unflattener', + path: '/yaml-flatten-nestify', + description: 'Flatten or nestify/unflatten YAML content (ie, a.b: 1 vs a: b: 1)', + keywords: ['yaml', 'flatten', 'nestify', 'unflatten'], + component: () => import('./yaml-flatten-nestify.vue'), + icon: AlignJustified, + createdAt: new Date('2025-07-19'), + npmPackages: ['yaml'], + category: 'YAML', +}); diff --git a/src/tools/yaml-flatten-nestify/yaml-flatten-nestify.vue b/src/tools/yaml-flatten-nestify/yaml-flatten-nestify.vue new file mode 100644 index 00000000..8bc19005 --- /dev/null +++ b/src/tools/yaml-flatten-nestify/yaml-flatten-nestify.vue @@ -0,0 +1,58 @@ + + +