19 lines
713 B
TypeScript
Raw Normal View History

import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
export const tool = defineTool('string', {
2025-07-12 23:02:35 -07:00
name: 'Truncate',
path: 'truncate',
2025-07-12 23:02:35 -07:00
icon: 'material-symbols-light:content-cut',
description:
2025-07-12 23:02:35 -07:00
"World's simplest browser-based utility for truncating text. Input your text and specify the maximum length to cut it down. Perfect for data processing, text formatting, or limiting content length.",
shortDescription: 'Truncate text to a specified length',
keywords: ['truncate'],
component: lazy(() => import('./index')),
i18n: {
name: 'string.truncate.name',
description: 'string.truncate.description',
shortDescription: 'string.truncate.shortDescription'
}
});