mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-10-23 04:52:14 +00:00
* validating if yaml is correct and collecting format options * Formatting yaml, sorting keys and changing indent size. * Removed unused format options * Fixed lint errors * Installed types for js-yaml * Removed legacy routing and added tool creation date Co-authored-by: Corentin THOMASSET <corentin.thomasset74@gmail.com> * Using existing yaml package instead of js-yaml * Update src/tools/yaml-viewer/index.ts --------- Co-authored-by: Isaiah <66272034+isaiah-j@users.noreply.github.com> Co-authored-by: Corentin THOMASSET <corentin.thomasset74@gmail.com>
13 lines
431 B
TypeScript
13 lines
431 B
TypeScript
import { AlignJustified } from '@vicons/tabler';
|
|
import { defineTool } from '../tool';
|
|
|
|
export const tool = defineTool({
|
|
name: 'YAML prettify and format',
|
|
path: '/yaml-prettify',
|
|
description: 'Prettify your YAML string to a human friendly readable format.',
|
|
keywords: ['yaml', 'viewer', 'prettify', 'format'],
|
|
component: () => import('./yaml-viewer.vue'),
|
|
icon: AlignJustified,
|
|
createdAt: new Date('2024-01-31'),
|
|
});
|