UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

10 lines (9 loc) 378 B
import { JuzMeta } from "./types"; /** * Retrieves metadata for a specific Juz of the Quran. * * @param juzNum - The Juz number to retrieve metadata for (1-30) * @returns An object containing the Juz number, first ayah, and last ayah in the Juz * @throws RangeError If the Juz number is not between 1 and 30 */ export declare function getJuzMeta(juzNum: number): JuzMeta;