
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
quran-meta
Advanced tools
This project is to help with Quran related meta queries.
Answering Questions like:
getAyaCountinSura
)isAyahJuzFirst
)?findJuz
and findJuzByAyaid
findPage
by surah/ayanextAyah
/prevAyah
)[surah,aya]
to ayaId
and vice-verse ( findSurahByAyaid
and findAyaidBySurah
)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');
See here for API documentation
You can find some examples here and souce code for them here
Quran Meta Visualiser - demo app showcasing number of methods from Quran-meta to build interactive visualisations of Quran structure using Alpine.js & chart.js
Quran Meta Visualiser ES module version - ES Module version of the previous demo
Here you can find the following
Source code in typescript | TS |
Javascript code autotranspiled from TS as ES Next | ESNext |
Javascript code autotranspiled from TS as CJS | ES5+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 webpack | ES5+CommonJS |
ESM for use with modern bundlers like webpack 2 or Rollup and for direct imports in modern browsers via <script type="module"> | ES5+ESM |
v2.5.4
FAQs
Library with meta data and functionality related to Holy Quran
The npm package quran-meta receives a total of 842 weekly downloads. As such, quran-meta popularity was classified as not popular.
We found that quran-meta demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.