npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

tdk-sozluk

v3.0.0

Published

Türk Dil Kurumu (TDK) sözlük API'lerinden veri çekmek ve Türkçe kelimelerle ilgili detaylı bilgilere kolayca erişmek için hazırlanmış kapsamlı bir Node.js modülü.

Downloads

27

Readme

tdk-sozluk

Downloads Weekly Downloads License

Türk Dil Kurumu (TDK) sözlük API'lerinden veri çekmek ve Türkçe kelimelerle ilgili detaylı bilgilere kolayca erişmek için hazırlanmış kapsamlı bir Node.js modülüdür.

Özellikler

  • Güncel Türkçe Sözlük (GTS) verileri
  • Yazım ve telaffuz bilgileri
  • Batı kökenli kelimeler sözlüğü
  • Tarama sözlüğü
  • Derleme sözlüğü
  • Atasözleri ve deyimler sözlüğü
  • Yabancı sözlere karşılıklar kılavuzu
  • Eren Türk Dilinin Etimolojik Sözlüğü
  • Köken Bilgisi Sözlüğü

Kurulum

npm install tdk-sozluk

Kullanım

Tüm fonksiyonlar asenkron çalışır ve kelimeyi parametre olarak alır.

const {
    getGtsWord,
    getPronunciation,
    getBatiWord,
    getTaramaWord,
    getDerlemeWord,
    getAtasozu,
    getKilavuz,
    getEtmsWord,
    getEtimolojiWord
} = require('tdk-sozluk');

(async () => {
    const kelime = 'araba';

    // Güncel Türkçe Sözlük
    const gts = await getGtsWord(kelime);
    console.log('GTS:', gts);

    // Yazım ve telaffuz
    const pronunciationUrl = await getPronunciation(kelime);
    console.log('Sesli Okunuş:', pronunciationUrl);

    // Batı kökenli kelime
    const bati = await getBatiWord('jeton');
    console.log('Batı Kökenli:', bati);

    // Tarama sözlüğü
    const tarama = await getTaramaWord('Türk');
    console.log('Tarama:', tarama);

    // Derleme sözlüğü
    const derleme = await getDerlemeWord('Türk');
    console.log('Derleme:', derleme);

    // Atasözleri ve deyimler
    const atasozu = await getAtasozu('damlaya damlaya göl olur');
    console.log('Atasözü:', atasozu);

    // Yabancı sözlere karşılıklar kılavuzu
    const kilavuz = await getKilavuz('basketbol');
    console.log('Kılavuz:', kilavuz);

    // Eren Türk Dilinin Etimolojik Sözlüğü
    const etms = await getEtmsWord('abajur');
    console.log('Etimolojik Sözlük:', etms);

    // Köken Bilgisi Sözlüğü
    const etimoloji = await getEtimolojiWord('abajur');
    console.log('Köken Bilgisi:', etimoloji);
})();

API Fonksiyonları

| Fonksiyon | Açıklama | |----------------------|--------------------------------------------------------| | getGtsWord | Güncel Türkçe Sözlük verisi döndürür | | getPronunciation | Kelimenin sesli okunuş URL'sini döndürür | | getBatiWord | Batı kökenli kelime verisi döndürür | | getTaramaWord | Tarama sözlüğü verisi döndürür | | getDerlemeWord | Derleme sözlüğü verisi döndürür | | getAtasozu | Atasözleri ve deyimler sözlüğü verisi döndürür | | getKilavuz | Yabancı sözlere karşılıklar kılavuzu verisi döndürür | | getEtmsWord | Eren Türk Dilinin Etimolojik Sözlüğü verisi döndürür | | getEtimolojiWord | Köken Bilgisi Sözlüğü verisi döndürür |

Lisans

Bu proje CC BY-NC-SA 4.0 lisansı ile korunmaktadır.


Daha fazla bilgi ve güncellemeler için siteyi ziyaret edin.