UNPKG

@ahmed5938/sorani-helper

Version:

TypeScript library for processing Central Kurdish (Sorani) text: Arabic-to-Kurdish conversion, keyboard layout mapping, validation, and input handling.

16 lines (15 loc) 392 B
export interface KurdishProcessorOptions { allowDigits?: boolean; allowPunctuation?: boolean; allowSpaces?: boolean; allowEmojis?: boolean; autoConvertArabic?: boolean; autoConvertEnglishLayout?: boolean; blockOtherScripts?: boolean; strict?: boolean; } export interface ValidationResult { isValid: boolean; errors: string[]; converted?: string; }