lacinka

1.2.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i lacinka

    Weekly Downloads

    3

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    151 kB

    Total Files

    13

    Last publish

    Collaborators

    • ptaberg