@kmaslesa/quran_translation-english_hilali_khan
v1.0.0
Published
Qur'an translation
Downloads
3
Maintainers
Readme
Quran Translations
بسم الله الرحمن الرحيم
Installation
npm install @kmaslesa/quran_translation-english_hilali_khan
Usage
const quranTranslation = require('@kmaslesa/quran_translation-english_hilali_khan');
quranTranslation.getHolyQuranTranslation();
RESPONSE:
[
{
"index":1,
"sura":1,
"ayaNumber":1,
"aya":"بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ",
"juz":1,
"hizb":1,
"page":1,
"translation":"(1) In the name of Allāh,[2] the Entirely Merciful, the Especially Merciful.[3]"
},
{
"index":2,
"sura":1,
"ayaNumber":2,
"aya":"ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ",
"juz":1,
"hizb":1,
"page":1,
"translation":"(2) [All] praise is [due] to Allāh, Lord[4] of the worlds -"
},
{
"index":3,
"sura":1,
"ayaNumber":3,
"aya":"ٱلرَّحْمَٰنِ ٱلرَّحِيمِ",
"juz":1,
"hizb":1,
"page":1,
"translation":"(3) The Entirely Merciful, the Especially Merciful,"
},
{
"index":4,
"sura":1,
"ayaNumber":4,
"aya":"مَٰلِكِ يَوْمِ ٱلدِّينِ",
"juz":1,
"hizb":1,
"page":1,
"translation":"(4) Sovereign of the Day of Recompense.[5]"
},
..........
]
]
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);