vbarzokas / greek-utils

A JavaScript library for Greek language with utilities such as replacement of accented and other diacritics characters, conversion from Greek to phonetic, transliterated or greeklish Latin and more.
MIT License
90 stars 7 forks source link

Added ignore parameter #4

Closed kodie closed 7 years ago

kodie commented 7 years ago

Hey there! Awesome package! I added an optional second parameter to all functions that accepts a string with characters to not convert.

My case use for this is that I'm working on a package that searches files for greek characters and converts them to their greeklish alternatives, however when doing the replacements in Javascript files, I would like semicolons to be left alone.

kodie commented 7 years ago

Working on it, please hold. :)

kodie commented 7 years ago

There we go!