UNPKG

@shelchin/svelte-i18n

Version:

The last Svelte i18n library you'll ever need. Type-safe, AI-powered, zero-config.

14 lines (13 loc) 318 B
#!/usr/bin/env node /** * Extract translation keys from source code * Scans for t('key') and i18n.t('key') patterns */ interface ExtractOptions { srcDir: string; outFile: string; extensions?: string[]; exclude?: string[]; } export declare function extract(options: ExtractOptions): void; export {};