Quran JSON

Installation

Get started with Quran JSON by installing via npm or using the CDN.

NPM Installation

Install using npm
npm install quran-cloud

CDN Usage

All JSON files are available through JSDELIVR CDN. You can access them directly using the following URL pattern:

General CDN URL pattern
https://cdn.jsdelivr.net/npm/quran-cloud@1.0.0/dist/{file}

Quick Example

Simple example using fetch
// Fetch complete Quran
fetch('https://cdn.jsdelivr.net/npm/quran-cloud@1.0.0/dist/quran.json')
  .then(response => response.json())
  .then(data => {
    console.log(data);
  });