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 🙏

© 2026 – Pkg Stats / Ryan Hefner

eksisozluk-api

v0.0.40512

Published

Latest unofficial eksisozluk api

Readme

eksisozluk-api

Resmi olmayan eksisozluk api

Ekşi sözlük için geliştirilmiş node api modulu ve express tabanlı REST API. Ekşisözlükten çekilen veriler json formatında kullanıcıya geri döndürülür

Eksisozluge son gelen arayuz guncellemesine gore crawl eder.

Icinde bir client yoktur. Bu apiyi kullanacak daha yazilmamis client icin tiklayin

Kurulum

Git ile

Terminalde sırasıyla şu komutları çalıştırın:

git clone https://github.com/otuva/eksisozluk-api
cd eksisozluk-api
npm i
npm start

NPM ile

Local olarak

npm i eksisozluk-api # install
npx eksisozluk # run

Global Olarak

sudo npm install eksisozluk-api -g # install
eksisozluk # run

image

Node.js API

npm ile kurup dokumantasyonda bulunan tum fonksiyonlari kullanabilirsiniz. Ornek:

const eksisozluk = require('eksisozluk-api');

eksisozluk.entry.getEntry('1').then(
    (data) => {
        console.log(data);
    }
);

eksisozluk.user.getUser('ssg').then(
    (data) => {
        console.log(data);
    }
);

eksisozluk.startServer();

Demo

Ozellikler

  • Gundem vs. gibi kategorilerdeki ve haber vs. gibi kanallaraki basliklari listeleme
  • Tek baslik listeleme
  • Cok daha ayrintili return edilen objeler.
  • Debe listeleme
  • Hatalar, yonlendirmeler vs. ile daha robust bir yapi
  • Eksi sozluk arayuzune birebir uygun endpointler
    • nick, karma, rozetler, son entryleri, pinli entry, profil fotografi linki vs.
  • Arama, otomatik tamamlama
  • Baslik listeleme ve entryler icin degismeyen format.
  • NOT: Endpoint formatlarinin degistigi durumlar api dokumaninda belirtilmistir. (Tum apide yalnizca 2 durumda degisim oluyor.)
    • Eger configden kullanici son entryleri getirme ozelligi kapatilirsa kullanici endpointinde lastEntries yer almaz.
    • Eger kullanici entry sayfasi ilk sayfaysa ve pinli entry varsa pinnedEntry adli obje dondurur diger entry sayfalarinda yer almaz.

image

Endpointler

| method | endpoint | örnek url | sayfali örnek url | açıklama | | ------ | :-------------------------------------: | ------------------------------- | ------------------------------------ | ------------------------------------- | | get | api/topic/list/channel/:choice/:page? | /api/topic/list/channel/haber | /api/topic/list/channel/müzik/2 | kanal başlıklarını getirir | | get | api/topic/list/:choice/:page? | /api/topic/list/gundem | /api/topic/list/basiboslar/3 | başlıkları getirir | | get | api/topic/:slug/:page? | /api/topic/pena | /api/topic/gap year/2 | bir başlığı getirir | | get | api/entry/:id | /api/entry/1 |   | bir entry'i getirir | | get | api/user/:nick/:choice/:page? | /api/user/ssg/entries | /api/user/ssg/most-liked/2 | bir suserin entry sayfalarini getirir | | get | api/index/debe | /api/index/debe |   | debe'yi getirir | | get | api/user/:nick | /api/user/ssg |   | bir suser'ı getirir | | get | api/index/search/:query/:page? | /api/index/search/pena | /api/index/search/boston celtics/4 | arama sonucu | | get | api/index/autocomplete/:query | /api/index/autocomplete/pena |   | otomatik tamamlama | | get | api/index/channels | /api/index/channels |   | kanal kategorileri | | get | api/user/:nick/images | /api/user/ssg/images |   | bir suserin gorsellerini getirir |

Dokumantasyon

API'yi çalıştırdıktan sonra /doc adresinden API'nin dokümantasyonuna ulaşabilirsiniz.

apidoc-markdown ile olusturulmus markdown dokumantasyona ise buradan ulasabilirsiniz.

image

Ayarlar

Ayarları src/config.js dosyası ile düzenleyebilirsiniz

Api portu, endpointi, apinin davranislarini vs. daha kolay duzenleyebilmek icin kategorilere ayrilmistir.

(Default ayarlar onerilir.)

module.exports = {
  api,
  doc,
  user,
  topic,
  asyncRequestHeaders,
};