0.1.0 • Published 8 years ago

transliterator v0.1.0

Weekly downloads
104
License
-
Repository
github
Last release
8 years ago

Transliterator

Turn strings that contain cyrillic characters into ascii compliant text

Installation

npm install transliterator --save

API

var transliterator = require('transliterator');
  • transliterator(string, [replacement])
transliterator('źebŕa') // 'zebra'
transliterator('ǿ\'doules.') // 'o\'doules.'
transliterator('i hatè véggiês') // 'i hate veggies'

transliterator('a') // 'a'
transliterator('harǤold') // 'harold'
transliterator('䫸 is ŗŒ') // ' is rOE'

transliterator('', 'h') // 'h'
transliterator('Ⓩbad ሏ', '_') // '_bad _'
transliterator('պ պ պ պ', '_') // '_ _ _ _'
0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago