Socket
Book a DemoInstallSign in
Socket

escape-turkish

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

escape-turkish

Escape turkish characters in string such as İ -> I , ğ -> g

latest
Source
npmnpm
Version
0.0.4
Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

##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"
}

FAQs

Package last updated on 21 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts