-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
24 lines (22 loc) · 764 Bytes
/
Copy pathindex.js
File metadata and controls
24 lines (22 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const {searchDetailed} = require("./src/core.js")
/**
* rootcf tarafından yapılan Etimoloji paketi.
* Bu paket. Kullanıcının belirttiği kelimeyi
*/
module.exports = {
/**
* @param {string} query Aratmak istediğiniz kelime
*/
/**
* Belirtilen kelimeyi https://api.etimolojiturkce.com/searchdetailed adresi üzerinden aratır.
*
* Örnek kullanım aşağıda verilmiştir.
* @example
etimoloji.search("merhaba", response => {
console.log(`Kelimenin kökeni ${response.name}`)
console.log(`Açıklama ${response.result}`)
console.log(`İlgili web adresi ${response.link}`)
})
*/
search : searchDetailed
}