serbian-transliteration
v1.0.0
Published
Bidirectional Serbian language JavaScript transliterator.
Downloads
105
Maintainers
Readme
serbianTransliteration
serbianTransliteration is a simple bidirectional Serbian language JavaScript transliterator. In other words, it can transliterate string from Latin to Cyrillic or from Cyrillic to Latin.
Installation
NPM
npm install serbian-transliteration
CDN
<script src="https://unpkg.com/[email protected]/dist/serbian-transliteration.min.js"></script>
Usage
If you want to transliterate string to Latin:
string = serbianTransliteration.toLatin( string );
If you want to transliterate string to Cyrillic:
string = serbianTransliteration.toCyrillic( string );