translit

Text transliteration util

npm install translit
4 downloads in the last week
10 downloads in the last month

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') //=> Иж

License

MIT

npm loves you