0.0.3 • Published 3 years ago

@artemis69/iuliia v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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 '...'; // somewhere

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 ❤

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago