Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eksi-sozluk-patch

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eksi-sozluk-patch

NodeJS client to query Eksi Sozluk

  • 0.0.14
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

eksi-sozluk Build Status

NodeJS client to query Eksi Sozluk

Install

$ npm install eksi-sozluk

Command-line

API


sozluk = require('eksi-sozluk')

sozluk('finike portakalı', function(error, result){

    result.title
    // => finike portakalı

    result.entries.length
    // => 6

    result.entries[0].content
    // => finike'de ve finike çevresinde yetiştirilen iri, sulu washington portakalı.

});

More Options
sozluk({ title: 'finike portakalı', from: 25, to: 75 }, function(error, result){
    
    result.entries.length
    // => 50
    
})
Search Words
sozluk({ title: 'finike portakalı', search:true, words:['bla','bla']}, function(error, result){
    
    result.entries
    
})

To fetch specific pages:

sozluk.page('finike', 3, function(error, result){
    
    result.entries.length
    // => 10
    
})

To get the number of the pages a topic has:

sozluk.pageCount('finike', function(error, result){
    
    result
    // => 7
    
})
Suggestions
sozluk.suggestions('linux', function(error, results){

    results[1]
    // => linux oyunları

    results[3]
    // => linux ile windows karşılaştırması
});

FAQs

Package last updated on 15 Jun 2014

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc