@kmaslesa/quran_translation-english_saheeh

1.0.0 • Public • Published

Quran Translations

بسم الله الرحمن الرحيم

Installation

npm install @kmaslesa/quran_translation-english_saheeh

Usage

const quranTranslation = require('@kmaslesa/quran_translation-english_saheeh');
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);

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @kmaslesa/quran_translation-english_saheeh

      Weekly Downloads

      2

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      3.01 MB

      Total Files

      4

      Last publish

      Collaborators

      • kmaslesa