Added user type filters and applied them to all tools

This commit is contained in:
AshAnand34
2025-07-12 11:02:15 -07:00
parent 18ba3f70d8
commit 4a7e6299d9
76 changed files with 296 additions and 158 deletions

View File

@@ -10,5 +10,6 @@ export const tool = defineTool('json', {
shortDescription: 'Quickly escape special JSON characters.',
longDescription: `This tool converts special characters in JSON files and data structures into their escaped versions. Such special characters are, for example, double quotes, newline characters, backslashes, tabs, and many others. If these characters aren't escaped and appear in a raw JSON string without escaping, they can lead to errors in data parsing. The program turns them into safe versions by adding a backslash (\\) before the character, changing its interpretation. Additionally, you can enable the "Wrap Output in Quotes" checkbox in the options, which adds double quotes around the resulting escaped JSON data. This is useful when the escaped JSON data needs to be used as a string in other data structures or the JavaScript programming language. Json-abulous!`,
keywords: ['escape', 'json'],
userTypes: ['Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -5,8 +5,10 @@ export const tool = defineTool('json', {
name: 'Convert JSON to XML',
path: 'json-to-xml',
icon: 'mdi-light:xml',
description: 'Convert JSON files to XML format with customizable options.',
shortDescription: 'Convert JSON data to XML format',
description:
'Convert JSON data structures to XML format with customizable options for element naming, attributes, and output formatting.',
shortDescription: 'Convert JSON data to XML format.',
keywords: ['json', 'xml', 'convert', 'transform', 'parse'],
userTypes: ['Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -9,5 +9,6 @@ export const tool = defineTool('json', {
'Minify your JSON by removing all unnecessary whitespace and formatting. This tool compresses JSON data to its smallest possible size while maintaining valid JSON structure.',
shortDescription: 'Quickly compress JSON file.',
keywords: ['minify', 'compress', 'minimize', 'json', 'compact'],
userTypes: ['Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -9,5 +9,6 @@ export const tool = defineTool('json', {
"Just load your JSON in the input field and it will automatically get prettified. In the tool options, you can choose whether to use spaces or tabs for indentation and if you're using spaces, you can specify the number of spaces to add per indentation level.",
shortDescription: 'Quickly beautify a JSON data structure.',
keywords: ['prettify'],
userTypes: ['Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -11,5 +11,6 @@ export const tool = defineTool('json', {
longDescription:
'This tool allows you to convert TSV (Tab-Separated Values) files into JSON format. You can customize the conversion process by specifying delimiters, quote characters, and whether to use headers. It also supports dynamic type conversion for values, handling comments, and skipping empty lines. The output can be formatted with indentation or minified as needed.',
keywords: ['tsv', 'json', 'convert', 'transform', 'parse'],
userTypes: ['Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -1,13 +1,14 @@
import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('json', {
name: 'Validate JSON',
path: 'validateJson',
icon: 'lets-icons:json-light',
description:
'Validate JSON data and identify formatting issues such as missing quotes, trailing commas, and incorrect brackets.',
shortDescription: 'Quickly validate a JSON data structure.',
keywords: ['validate', 'json', 'syntax'],
component: lazy(() => import('./index'))
});
import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('json', {
name: 'Validate JSON',
path: 'validateJson',
icon: 'lets-icons:json-light',
description:
'Validate JSON data for syntax errors and structural correctness. This tool helps ensure your JSON is properly formatted and valid.',
shortDescription: 'Validate JSON syntax and structure',
keywords: ['validate', 'json', 'syntax', 'check', 'verify'],
userTypes: ['Developers'],
component: lazy(() => import('./index'))
});