Simple library to convert accents (diacritics) from strings to latin characters.
npm install latinize
bower install latinize
var latinize = ;; // => 'ExAmPlE aeiouycdenrstzu'
You can use the
latinize.characters object to access the translation table or to change the mapping:
latinizecharacters'Ω' = 'O';// modify the behavior for German umlauts_;
Is is a lookup table taken from http://jsperf.com/latinize packaged for node and browser. Visit the link to see more approaches.