Socket
Socket
Sign inDemoInstall

@technoeren/tdk-api

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @technoeren/tdk-api

Türk Dil Kurumu API


Version published
Weekly downloads
10
increased by150%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

tdk-api

Türk Dil Kurumu API

-> Eğer paket ile ilgili bir sorun yaşıyorsanız discord üzerinden technoeren#7608 ile iletişime geçebilirsiniz.

Yükleme

Npm aracılığı ile ya da Yarn aracılığı ile şu komutlarla indirebilirsiniz :

npm install @technoeren/tdk-api
yarn add @technoeren/tdk-api

Başlama

Paketi tanımlayarak başlıyoruz:

const TDKAPI = require('@technoeren/tdk-api')

const tdkapi = new TDKAPI();

Kelime Arama

tdkapi.getWord("esenlik").then(response => {

console.log(response)
})

Çıktı:

{
  anlamlar: [
    {
      anlam: 'Esen olma durumu, sağlık, afiyet, sıhhat, selamet, hastalık karşıtı',
      ornek: 'Kendini böyle sağa sola dağıttıkça tadına varılmaz bir mutluluk, esenlik duyuyordu'
    }
  ],
  atasozu_deyim: null
}

Kelimenin Olup Olmadığını Kontrol Etme

tdkapi.checkWord("esenlik").then(response => {

console.log(response)
})

Çıktı:

true
tdkapi.checkWord("asdasdasdasd").then(response => {

console.log(response)
})

Çıktı:

false

Kelimeden Atasözü Yada Deyim Arama

tdkapi.getProVerbs("keyif").then(response => {

console.log(response)
})

Çıktı:

{
  proverbs: [
    {
      soz: "keyif benim, köy Mehmet Ağa'nın",
      tur: 'Atasözü',
      anlam: 'hiçbir şeyi tasa etmiyorum, işlerim yolunda.'
    },
    {
      soz: 'keyif çatmak',
      tur: 'Deyim',
      anlam: "keyfetmek:<i> 'Türkü söylüyorsun, keyif çatıyorsun.' -</i>P. Safa."
    },
    {
      soz: 'keyif sormak',
      tur: 'Deyim',
      anlam: "1) birine 'iyi misiniz, nasılsınız' sorularını yönelterek sağlığı hakkında bilgi almak; 2) saygı göstermek."
    },
    {
      soz: 'keyif sürmek',
      tur: 'Deyim',
      anlam: 'sıkıntısız, rahat yaşamak.'
    },
    {
      soz: 'keyif vermek',
      tur: 'Deyim',
      anlam: "neşe vermek, sarhoş etmek:<i> 'Bize hakaret eden, bize utangaçlık yükleyen bu zincir şarkıları, düşmanın kulağına keyif verecektir.' -</i>R. E. Ünaydın."
    }
  ]
}

Keywords

FAQs

Last updated on 26 Sep 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc