Quran Translations
بسم الله الرحمن الرحيم
Installation
npm install @kmaslesa/quran_translation-bosnian_mihanovich
Usage
const quranTranslation = require('@kmaslesa/quran_translation-bosnian_mihanovich');
quranTranslation.getHolyQuranTranslation();
RESPONSE:
[
{
"index":1,
"sura":1,
"ayaNumber":1,
"aya":"بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ",
"juz":1,
"hizb":1,
"page":1,
"translation":"S imenom Allaha, Svemilosnog, Milostivog!"
},
{
"index":2,
"sura":1,
"ayaNumber":2,
"aya":"ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ",
"juz":1,
"hizb":1,
"page":1,
"translation":"Svaka hvala neka je Allahu, Gospodaru svjetova."
},
{
"index":3,
"sura":1,
"ayaNumber":3,
"aya":"ٱلرَّحْمَٰنِ ٱلرَّحِيمِ",
"juz":1,
"hizb":1,
"page":1,
"translation":"Svemilosnom, Milostivom."
}
..........
]
]
quranTranslation.getTranslationByJuz(juz); // juz=(1-30)
quranTranslation.getTranslationByHizb(hizb); // juz=(1-60)
quranTranslation.getTranslationByPage(page); // page=(1-604)
quranTranslation.getTranslationBySura(sura); // sura=(1-114)
quranTranslation.getTranslationByIndex(index); // index=(1-6236)
quranTranslation.getTranslationByAyah(aya, sura);