escape-turkish
v0.0.4
Published
Escape turkish characters in string such as İ -> I , ğ -> g
Downloads
4
Readme
##Escape Turkish characters with the equivalent english characters.
- install
npm install escape-turkish
- usage
var EscapeTurkish = require("escape-turkish");
console.log(EscapeTurkish("Şşşşh"));
// prints "Ssssh"
- Match set:
{
"İ": "I",
"ı": "i",
"ş": "s",
"Ş": "S",
"ğ": "g",
"Ğ": "G",
"ç": "c",
"Ç": "C",
"ü": "u",
"Ü": "U",
"ö": "o",
"Ö": "O"
}