mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
30 lines
584 B
TypeScript
30 lines
584 B
TypeScript
import { defineTool } from '@tools/defineTool';
|
|
import { lazy } from 'react';
|
|
|
|
export const tool = defineTool('pdf', {
|
|
path: 'compress-pdf',
|
|
icon: 'material-symbols:compress',
|
|
|
|
keywords: [
|
|
'pdf',
|
|
'compress',
|
|
'reduce',
|
|
'size',
|
|
'optimize',
|
|
'shrink',
|
|
'file size',
|
|
'ghostscript',
|
|
'secure',
|
|
'private',
|
|
'browser',
|
|
'webassembly'
|
|
],
|
|
|
|
component: lazy(() => import('./index')),
|
|
i18n: {
|
|
name: 'pdf:compressPdf.title',
|
|
description: 'pdf:compressPdf.description',
|
|
shortDescription: 'pdf:compressPdf.shortDescription'
|
|
}
|
|
});
|