Wrapper Javascript for API Fatimah Bot - alQuran. For more information about the API Fatimah, please visit the Fatimah documentation.
npm i al-quran
const alQuran = require('al-quran')
alQuran.surat()
alQuran.nomorSurat(nomor)
alQuran.tampilAya(surat, ayat)
alQuran.bahasaAyat(surat, ayat, bahasa)
alQuran.daftarBahasa()
alQuran.pencarian(kata, mulai, limit, bahasa)
alQuran.catatanDepag(nomor)
alQuran.quranAcak()
about parameter see Fatimah
const alQuran = require('al-quran')
alQuran.surat()
.then(data => {
console.log(data)
})
.catch(error => {
console.log(error)
})