This repository is a mirror of the component module eldargab/translit. It has been modified to work with NPM+Browserify. You can install it using the command npm install npmcomponent/eldargab-translit
. Please do not open issues or send pull requests against this repo. If you have issues with this repo, report it to npmcomponent.
translit
Text transliteration util.
Installation
via component
component install eldargab/translit
via npm
npm install translit
Example
var translit = require('translit')({
'И': 'I',
'ж': 'zh',
'е': 'e'
'в': 'v',
'c': 's',
'к': 'k'
})
translit('Ижевск') //=> Izhevsk
Or vice versa
var translit = require('translit')({
'I': 'И',
'zh': 'ж'
})
translit('Izh') //=> Иж
Related
- translit-russian - Russian transliteration map
License
MIT