z41 / lacinka

Belarusian Traditional Latin Translator tool as NPM package

Repository from Github https://github.comz41/lacinkaRepository from Github https://github.comz41/lacinka

Lacinka

Lacinka is a NPM module for converting Belarusian text to traditional belarusian latin text. The big problem of other converters for the Belarusian Latin is the omission of several rules.

Installation

To use this module, you must have Node.js and NPM installed. Use you terminal for installing:

npm install lacinka --save

toLacinka

Simple usage of toLacinka:

const { toLacinka } = require('lacinka'); // importing

console.log(toLacinka('Витаньне, Сьвет!!!')) // => Vitańnie, Śviet!!!

toURL

Simple usage of toURL:

const { toURL } = require('lacinka'); // importing

console.log(toURL('Витаньне, Сьвет!!!')) // => vitannie_sviet

About

Belarusian Traditional Latin Translator tool as NPM package

License:MIT License


Languages

Language:JavaScript 100.0%