@kmaslesa/quran_translation-indonesian_complex

1.0.0 • Public • Published

Quran Translations

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

Installation

npm install @kmaslesa/quran_translation-indonesian_complex

Usage

const quranTranslation = require('@kmaslesa/quran_translation-indonesian_complex');
quranTranslation.getHolyQuranTranslation();

RESPONSE:
[
  	{
		"index":1,
		"sura":1,
		"ayaNumber":1,
		"aya":"بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ",
		"juz":1,
		"hizb":1,
		"page":1,
		"translation":"Dengan menyebut nama Allah Yang Maha Pemurah lagi Maha Penyayang1."
	},
	{
		"index":2,
		"sura":1,
		"ayaNumber":2,
		"aya":"ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ",
		"juz":1,
		"hizb":1,
		"page":1,
		"translation":"Segala puji2 bagi Allah, Tuhan3 semesta alam."
	},
	{
		"index":3,
		"sura":1,
		"ayaNumber":3,
		"aya":"ٱلرَّحْمَٰنِ ٱلرَّحِيمِ",
		"juz":1,
		"hizb":1,
		"page":1,
		"translation":"Maha Pemurah lagi Maha Penyayang."
	},
   ..........
]
]
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

Package Sidebar

Install

npm i @kmaslesa/quran_translation-indonesian_complex

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

3.22 MB

Total Files

4

Last publish

Collaborators

  • kmaslesa