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

sozlukjs

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sozlukjs

An API library for Turkish Dictionary websites.

  • 1.0.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-57.89%
Maintainers
1
Weekly downloads
 
Created
Source

Sözlük.JS

GitHub Workflow Status GitHub npm David npm bundle size npm bundle size

An API library for Turkish Dictionary websites.

Installation

Through npm

  • npm install --save sozlukjs

Using CDN

  • <script src="https://cdn.jsdelivr.net/npm/sozlukjs@latest/bundle.js"></script>

Example

const sozluk = require("sozlukjs");

sozluk.TDKDictionary.getMeaningData("sözlük")
    .then(data => console.log(data)); // console.logs the results of "sözlük" as JSON.

You can find more examples in the examples folder.

API

TDKDictionary

  • TDKDictionary.getMeaningData(query) query: String -> Promise

Fetches and returns JSON meaning data of given query string.

  • TDKDictionary.getSpellingData(query) query: String -> Promise

Fetches and returns JSON spelling data of given query string.

  • TDKDictionary.getAudioUrl(query) query: String -> Promise

Fetches and returns URL for pronounciation audios of given query string.

TurengDictionary

  • TurengDictionary.getTermSuggestions(query) query: String -> Promise

Fetches and returns JSON suggestion results of given query string.

  • TurengDictionary.getTermData(term) term: String -> Promise

Fetches and returns JSON data of given term string.

Keywords

FAQs

Package last updated on 01 Dec 2019

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