
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
Quran text, translation, audio URLs, and details of pages, juz, surah, ayah, place of revelation etc.
Quran text, translation, audio URLs, and details of pages, juz, surah, ayah, place of revelation etc.
Constants:
basmala - The constant 'بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ'sajdah - The constant 'سَجْدَةٌ'totalJuzCount - The constant total juz counttotalMadaniSurahs - The constant total of madani surahstotalMakkiSurahs - The constant total of makki surahstotalPagesCount - The most standard and common copy of Arabic only Quran total pages counttotalSurahCount - The constant total surah counttotalVerseCount - The constant total verse countFunctions:
Juz:
getJuzNumber(surahNumber, verseNumber) - Takes [surahNumber] & [verseNumber] and returns Juz numbergetSurahAndVersesFromJuz(juzNumber) - Takes [juzNumber] and returns a map containing Surah and Verse numbersSurah:
getSurahName(surahNumber) - Takes [surahNumber] and returns the Surah namegetSurahNameArabic(surahNumber) - Takes [surahNumber] returns the Surah name in ArabicgetSurahNameEnglish(surahNumber) - Takes [surahNumber] returns the Surah name in EnglishgetSurahNameTurkish(surahNumber) - Takes [surahNumber] returns the Surah name in TurkishgetPlaceOfRevelation(surahNumber) - Takes [surahNumber] and returns the Place of Revelation (Makkah / Madinah) of that SurahgetVerseCount(surahNumber) - Takes [surahNumber] and returns the count of total Verses in that SurahVerse:
getVerse(surahNumber, verseNumber, {verseEndSymbol}) - Takes [surahNumber], [verseNumber] & [verseEndSymbol] (optional) and returns the Verse in ArabicgetVerseEndSymbol(verseNumber, {arabicNumeral}) - Takes [verseNumber], [arabicNumeral] (optional) and returns '' symbol with verse numberisSajdahVerse(surahNumber, verseNumber) - Takes [surahNumber], [verseNumber] and returns true if verse is sajdah versegetVerseTranslation(surahNumber, verseNumber, {verseEndSymbol, translation}) - Takes [surahNumber], [verseNumber], [verseEndSymbol] (optional) & [translation] (optional) and returns verse translationPage:
getPageData(pageNumber) - Takes [pageNumber] and returns a list containing Surahs and the starting and ending Verse numbers in that pagegetPageNumber(surahNumber, verseNumber) - Takes [surahNumber], [verseNumber] and returns the page number of the QurangetSurahCountByPage(pageNumber) - Takes [pageNumber] and returns total surahs count in that pagegetSurahPages(surahNumber) - Takes [surahNumber] and returns the list of page numbers of that surahgetVerseCountByPage(pageNumber) - Takes [pageNumber] and returns total verses count in that pagegetVersesTextByPage(pageNumber, {verseEndSymbol, surahSeperator, customSurahSeperator}) - Takes [pageNumber], [verseEndSymbol], [surahSeperator] & [customSurahSeperator] and returns the list of verses in that pageURLs:
getAudioURLBySurah(surahNumber) - Takes [surahNumber] and returns audio URL of that surahgetAudioURLByVerse(surahNumber, verseNumber) - Takes [surahNumber] & [verseNumber] and returns audio URL of that versegetAudioURLByVerseNumber(surahNumber) - Takes [verseNumber] and returns audio URL of that versegetJuzURL(juzNumber) - Takes [juzNumber] and returns Juz URL (from Quran.com)getSurahURL(surahNumber) - Takes [surahNumber] and returns Surah URL (from Quran.com)getVerseURL(surahNumber, verseNumber) - Takes [surahNumber] & [verseNumber] and returns Verse URL (from Quran.com)Search:
searchWords(words) - Takes an array of words [words] and returns a map containing no. of occurences and result of the word search in the arabic quran textsearchWordsInTranslation(words, {translation}) - Takes an array of words [words] and [translation] (optional) and returns a map containing no. of occurences and result of the word search in the traslationTranslations:
Translation.enSaheehTranslation.enClearQuranTranslation.frHamidullahTranslation.trSaheehTranslation.mlAbdulHameedTranslation.faHusseinDariTranslation.portugueseTranslation.itPiccardoTranslation.nlSiregarTranslation.ruKulievTranslation.bengaliTranslation.chineseTranslation.swedishTranslation.spanishTranslation.urduTranslation.indonesianSurahSeperators:
SurahSeperator.noneSurahSeperator.surahNameSurahSeperator.surahNameArabicSurahSeperator.surahNameEnglishSurahSeperator.surahNameTurkishFAQs
Quran text, translation, audio URLs, and details of pages, juz, surah, ayah, place of revelation etc.
The npm package quran-db receives a total of 2 weekly downloads. As such, quran-db popularity was classified as not popular.
We found that quran-db demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.