UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

32 lines (19 loc) 546 B
const require_index = require('./index.cjs'); //#region src/i18n/getSurahNames.ts /** * Retrieves the list of Surah names in the specified language. * * @param lang - The language code for which to retrieve the Surah names * @returns An array of Surah names in the specified language * * @example * ```typescript * const arabicNames = getSurahNames('ar'); * const englishNames = getSurahNames('en'); * ``` */ function getSurahNames(lang) { return require_index.surahNames[lang]; } //#endregion exports.getSurahNames = getSurahNames;