JavaScript library and tool for transliteration cyrillic Crimean Tatar words to latin and back. Based on transliterator developed by Alexander Goryainov, 2006-2009.
Library can be used in browser and on node.js platform. Browser version can be found in the dist directory.
Browse the demos on https://prosvita.github.io/crh.transliteration/
npm install transliteration.crh --save
var transliteration=require('transliteration.crh');
transliteration.crh.fromCyrillic('Мерхаба!'); // Merhaba!
transliteration.crh.toCyrillic('Merhaba!'); // Мерхаба!
This module should support all major browsers including IE 7-8.
# Install bower if not already installed
# npm install bower -g
bower install transliteration.crh
<html>
<head>
<script src="bower_components/transliteration.crh/dist/transliteration.crh.min.js"></script>
</head>
<body>
<script>
console.log(transliteration.crh.fromCyrillic('Мерхаба!')); // Merhaba!
console.log(transliteration.crh.toCyrillic('Merhaba!')); // Мерхаба!
</script>
</body>
</html>
<script src="https://prosvita.github.io/crh.transliteration/dist/transliteration.crh.min.js"></script>
npm install transliteration.crh -g
crh --help
Usage: crh <options> <sourceFile> [targetFile]
Options:
-h, --help output usage information
-V, --version output the version number
-c, --to-cyrillic Convert to Cyrillic from Latin
-l, --from-cyrillic Convert to Latin from Cyrillic