Iuliia
Transliterate Cyrillic → Latin in every possible way
This is the fork of iuliia package
The purpose of this fork is to make modularity possible for iulia (will not be maintained in the future)
Usage
import { translate } from '@artemis69/iuliia';
import { mosmetro, gost_7034 } from '...';
let soure = 'Привет, Шоссе Энтузиастов и Юлия Щеглова';
translate(soure, mosmetro);
translate(soure, gost_7034);
?
Schemas should be in that format:
{
name: "my_shitty_schema",
mapping: {
а: "a",
б: "b",
},
prev_mapping: null,
next_mapping: { ъе: "y" },
ending_mapping: { ый: "iy" },
}
???
Forked by me for me with ❤