turkish-suffixes

Turkish Suffixes


Keywords
turkish, suffix, string, cases, suffixes, possessive, word
License
MIT
Install
npm install turkish-suffixes@1.1.2

Documentation

turkish-suffixes

how to install

npm

npm install turkish-suffixes --save

how to use

node

var ts = require('turkish-suffixes');

#variables and values

suffix -> "in", "e", "i", "de", "den", "ile"
apostrof -> true, false (if use false apostrof don't show)
apostrofMark -> "'","`"

examples

ts("İstanbul", "de", true, "'"); //İstanbul'da
ts("büyük masa", "de", false, "'"); //büyük masada
ts("Atatürk", "in", true, "`"); // Atatürk`ün

thanks

https://github.com/hicay