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.
To use this module, you must have Node.js and NPM installed. Use you terminal for installing:
npm install lacinka --save
Simple usage of toLacinka:
const { toLacinka } = require('lacinka'); // importing
console.log(toLacinka('Витаньне, Сьвет!!!')) // => Vitańnie, Śviet!!!
Simple usage of toURL:
const { toURL } = require('lacinka'); // importing
console.log(toURL('Витаньне, Сьвет!!!')) // => vitannie_sviet