UNPKG

@nexim/localizer

Version:

Lightweight i18n utilities to handle translations, number formatting, date/time localization using native browser APIs.

9 lines 324 B
/** * Supported language codes for Unicode digit conversion */ export type UnicodeLangKeys = 'en' | 'ar' | 'fa'; /** * Converts numbers between different Unicode digit representations */ export declare function convertDigits(str: string, toLanguage: UnicodeLangKeys): string; //# sourceMappingURL=unicode-digits.d.ts.map