2.4.15 • Published 1 year ago

quran-meta v2.4.15

Weekly downloads
24
License
MIT
Repository
github
Last release
1 year ago

Welcome to Quran Meta Project

This project is to help with Quran related meta queries.

Answering Questions like:

  • How many ayahs in given sura (getAyaCountinSura)
  • Is given aya
    • a sajdah ayah?
    • beginnning of a juz (isAyahJuzFirst)?
    • beginnning of a page?
  • findJuz and findJuzByAyaid
  • findPage by surah/aya
  • Find next or previous ayah (nextAyah/prevAyah)
  • converts [surah,aya] to ayaId and vice-verse ( findSurahByAyaid and findAyaidBySurah)

Installation

In a browser:

<script src="quran-meta.js"></script>

Also modern browsers allow

<script type="module">
import quranMeta from "quran-meta.esm.js"
</script>

The library is available from various CDNs

Using npm:

$ npm i --save quran-meta

In Node.js:

var quranMeta = require('quran-meta');

APi Reference Documentation

See here for API documentation

Examples

You can find some examples here and souce code for them here

Demo

demo image

Distributions and Downloads

Here you can find the following

Source code in typescriptTS
Javascript code autotranspiled from TS as ES NextESNext
Javascript code autotranspiled from TS as CJSES5+CommonJS
distributions of library as
UMD/ UMD minified builds can be used directly in the browser via a <script> (see here about UMD format)ES5+UMD
CommonJS for use with older bundlers like browserify or webpackES5+CommonJS
ESM for use with modern bundlers like webpack 2 or RollupES5+ESM
ESM Browser/ESM Browser minified for direct imports in modern browsers via <script type="module">ESNext+ESM
2.4.14

1 year ago

2.4.15

1 year ago

2.4.4

2 years ago

2.4.10

2 years ago

2.4.12

2 years ago

2.4.9

2 years ago

2.4.8

2 years ago

2.4.2

3 years ago

2.2.1

3 years ago

2.4.1

3 years ago

2.2.3

3 years ago

2.3.1

3 years ago

2.2.2

3 years ago

2.1.2

3 years ago

2.1.1

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago