UNPKG

romanize-string

Version:

A fully typed, general-purpose utility for unidirectional string transliteration (non-Latin script => Latin script).

9 lines (8 loc) 325 B
import { CyrillicLanguageCode } from "../public-types/language-types"; /** * Adapted from cyrillic-to-translit-js * Original author: Aleksandr Filatov * License: MIT * https://github.com/greybax/cyrillic-to-translit-js */ export declare const romanizeCyrillic: (input: string, language: CyrillicLanguageCode) => string;