node-dictionary.js

Advanced dictionary module for NodeJS.

Usage no npm install needed!

<script type="module">
  import nodeDictionaryJs from 'https://cdn.skypack.dev/node-dictionary.js';
</script>

README

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).',
}