0.0.3 • Published 3 years ago

node-dictionary.js v0.0.3

Weekly downloads
15
License
MIT
Repository
-
Last release
3 years ago

Advanced dictionary module for NodeJS.

Türkçe;

const dictionary = require('node-dictionary.js');

let kelime = await dictionary.trFindWord("araba");
console.log(kelime)

Çıktı;

{
    kelime: 'araba',
    anlamı: 'iki ya da dört tekerli, hayvan gücüyle çeklilen taşıt',
    örnek: 'Bir at arabası geliyor'
}

English;

const dictionary = require('node-dictionary.js');

let word = await dictionary.enFindWord("hello");
console.log(word)

Output;

{
  word: 'hello',
  meaning: 'Used as a greeting or to begin a phone conversation.',
  example: 'hello there, Katie!'
}

French;

const dictionary = require('node-dictionary.js');

let word = await dictionary.frFindWord("hello");
console.log(word)

Output;

{
  mot: 'bonjour',
  sens: 'Souhait de bonne journée (adressé en arrivant, en rencontrant).',
}