1.2.0 • Published 5 years ago
lacinka v1.2.0
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