0.2.7 • Published 10 years ago

transliteratsia v0.2.7

Weekly downloads
35
License
-
Repository
github
Last release
10 years ago

Transliterate module

Changes cyrillic symbols into latin ones. There are transliteration exceptions for the folowing languages.

Usage example

npm install transliteratsia

Cyrillic transliration

transliterate = require('transliteratsia');
result = transliterate(word);

Bulgarian transliration

transliterate = require('transliteratsia');
transliterate.region = 'bg'; // You can use also bg_BG as region code
result = transliterate(word); 

Russian transliration

transliterate = require('transliteratsia');
transliterate.region = 'ru'; // You can use also ru_RU as region code
result = transliterate(word); 

Ukrainian transliration

transliterate = require('transliteratsia');
transliterate.region = 'ua'; // You can use also ru_UA as region code
result = transliterate(word); 

You have to set transliterate.region only once. It will keep its value until changed.

0.2.7

10 years ago

0.2.6

10 years ago

0.2.5

10 years ago

0.2.0

10 years ago

0.1.5

10 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago