• Introduction
QuranJS/API Banner

A library for fetching quran data from the Quran.com API. This library also works on both Node.js and the browser.

Installation

npm install @quranjs/api

Getting Started

You can use the library in your project by importing it:

import { quran } from '@quranjs/api';
 
quran.v4.chapters.findAll().then(console.log); // will log all chapters

or with CJS:

const { quran } = require('@quranjs/api');
 
quran.v4.chapters.findAll().then(console.log); // will log all chapters
Last updated on December 2, 2022