19 lines
714 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: {
2025-07-13 11:25:05 +01:00
name: 'string:truncate.title',
description: 'string:truncate.description',
shortDescription: 'string:truncate.shortDescription'
2025-07-12 23:02:35 -07:00
}
});