All Projects → stojanovic → cyrillic-to-latin

stojanovic / cyrillic-to-latin

Licence: MIT License
Convert cyrillic characters to latin.

Programming Languages

javascript
184084 projects - #8 most used programming language

Build Status npm version

Cyrillic to latin converter

Converts characters cyrillic to latin.

At the moment it works with Serbian characters only, but goal is to support full ISO 9:1995 standard.

Installation

npm install cyrillic-to-latin

Usage


var convert = require('cyrillic-to-latin')

convert('Ћирилица је писмо које користи седам словенских језика (белоруски, бугарски, македонски, руски, српски, украјински и де јуре бошњачки)')

// Returns:
// Ćirilica je pismo koje koristi sedam slovenskih jezika (beloruski, bugarski, makedonski, ruski, srpski, ukrajinski i de jure bošnjački)

Test

npm test or tape test/*.js or browserify -t coverify test/*.js | node | coverify -c | tap-spec (for test with coverage).

Todo

  • Support Russian alphabet
  • Support full ISO 9:1995

Move to separate module:

  • Support reverse conversion - latin to cyrillic

Licence

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].