0.1.1 • Published 4 months ago

rus_to_latin v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Rus to Latin Transliterator

This is a Rust-based WebAssembly library for transliterating Russian text into Latin characters.

📦 Installation

Install the package via NPM:

npm install rus_to_latin

Install the package via Yarn:

yarn add rus_to_latin

Install the package via Bun:

bun add rus_to_latin

🚀 Usage

Russian to Latin Transliteration

The russian_to_latin function converts Russian text into Latin characters:

import init, { russian_to_latin } from "rus_to_latin";

async function run() {
    await init();
    console.log(russian_to_latin("Привет мир")); // Output: Privet mir
}

run();

Latin to Russian Transliteration

The latin_to_russian function converts Latin text back into Russian:

import init, { latin_to_russian } from "rus_to_latin";

async function run() {
    await init();
    console.log(latin_to_russian("Privet mir")); // Output: Привет мир
}

run();

🔗 License

This project is licensed under the MIT License.

0.1.1

4 months ago

0.1.0

4 months ago