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 - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

package.json
{
"name": "sozlukjs",
"version": "1.0.7",
"version": "1.0.8",
"description": "An API library for Turkish Dictionary websites.",

@@ -5,0 +5,0 @@ "main": "index.js",

# Sözlük.JS
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/AtakanErmis/sozlukjs/CI) ![GitHub](https://img.shields.io/github/license/AtakanErmis/sozlukjs) ![npm](https://img.shields.io/npm/v/sozlukjs) ![David](https://img.shields.io/david/AtakanErmis/sozlukjs) ![npm bundle size](https://img.shields.io/bundlephobia/min/sozlukjs) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/sozlukjs)
An API library for Turkish Dictionary websites.

@@ -4,0 +6,0 @@

const TDKDictionary = require("../src/modules/tdk");
test("gets meaning JSON data successfully", () => {
expect(TDKDictionary.getMeaningData("sözlük")).resolves.toBeInstanceOf(Object);
})
TDKDictionary.getMeaningData("sözlük").then(data => {
expect(data).toBeInstanceOf(Object);
});
});
test("gets spelling JSON data successfully", () => {
expect(TDKDictionary.getSpellingData("sözlük")).resolves.toBeInstanceOf(Object);
})
TDKDictionary.getSpellingData("sözlük").then(data => {
expect(data).toBeInstanceOf(Object);
});
});
test("gets audio JSON data successfully", () => {
expect(TDKDictionary.getAudioUrl("sözlük")).resolves.toBeInstanceOf(Object);
})
TDKDictionary.getAudioUrl("sözlük").then(data => {
expect(data).toBeInstanceOf(Object);
});
});
const TurengDictionary = require("../src/modules/tureng");
test("gets term JSON data successfully", () => {
expect(TurengDictionary.getTermData("dictionary")).resolves.toBeInstanceOf(Object);
TurengDictionary.getTermData("dictionary").then(data => {
expect(data).toBeInstanceOf(Object);
});
})
test("gets suggestion JSON data successfully", async () => {
expect(TurengDictionary.getTermSuggestions("dictionary")).resolves.toBeInstanceOf(Object);
TurengDictionary.getTermSuggestions("dictionary").then(data => {
expect(data).toBeInstanceOf(Object);
});
})

Sorry, the diff of this file is not supported yet

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