UNPKG

node-language-translate

Version:

🚀 Next-gen translation engine for Node.js | Free unlimited language conversion | AI-powered context-aware translations | Developer-friendly API | Zero dependencies | Built for modern cloud-native applications | Compatible with Express, NestJS & serverles

10 lines (8 loc) • 216 B
export interface TranslationOptions { from: string; to: string; // apiKey?: string; } export interface TranslationProvider { translate(text: string, options: TranslationOptions): Promise<string>; }