@kraikov/translitbg
v1.0.2
Published
Bulgarian to Latin (and vice versa) characters transliteration. Forked from https://github.com/petarov/translitbg.js
Downloads
314
Maintainers
Readme
translitbg
Transliterates Bulgarian to Latin and Latin to Bulgarian characters. Froked from https://github.com/petarov/translitbg.js
Транслитерация на българските букви с латински и на латински с български.
Install
npm install @kraikov/translitbg
or
yarn add @kraikov/translitbg
Usage
import { cyrilicToLatin, latinToCyrilic } from '@kraikov/translitbg'
cyrilicToLatin('абвгдежзийклмнопрстуфхцчшщъьюя');
// abvgdezhziyklmnoprstufhtschshshtayyuya
latinToCyrilic('abvgdezhziyklmnoprstufhtschshshtayyuya');
// абвгдежзийклмнопрстуфхцчшщъьюя
Development
Run yarn install
to install dependencies.
Run yarn test
to run tests.