widequran 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ TypeScript SDK for [WideQuran](https://widequran.com) — access 114 surahs, 31,
|
|
|
9
9
|
|
|
10
10
|
WideQuran is part of the [WideHoly](https://wideholy.com) multi-religion scripture platform, providing structured Quranic data, hadith collections, tafsir commentary, and encyclopedic content about prophets, topics, and Islamic terminology.
|
|
11
11
|
|
|
12
|
-
> **Explore the Quran at [widequran.com](https://widequran.com)** — [Surahs](https://widequran.com/
|
|
12
|
+
> **Explore the Quran at [widequran.com](https://widequran.com)** — [Surahs](https://widequran.com/), [Translations](https://widequran.com/translations/), [Hadith](https://widequran.com/hadith/), [Tafsir](https://widequran.com/tafsir/), [People](https://widequran.com/people/)
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
|
@@ -101,7 +101,7 @@ const patience = await api.search("patience");
|
|
|
101
101
|
console.log(patience.count); // Ayahs mentioning patience (sabr)
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
Learn more: [Browse All Surahs](https://widequran.com/
|
|
104
|
+
Learn more: [Browse All Surahs](https://widequran.com/) · [Quran Translations](https://widequran.com/translations/)
|
|
105
105
|
|
|
106
106
|
### Juz & Hizb Divisions
|
|
107
107
|
|
|
@@ -126,7 +126,7 @@ const hizbs = await api.listHizbs(1);
|
|
|
126
126
|
console.log(hizbs.count); // Hizbs in Juz 1
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
Learn more: [Juz Overview](https://widequran.com/juz/) · [Reading Guide](https://widequran.com/
|
|
129
|
+
Learn more: [Juz Overview](https://widequran.com/juz/) · [Reading Guide](https://widequran.com/glossary/)
|
|
130
130
|
|
|
131
131
|
### Hadith Collections
|
|
132
132
|
|
|
@@ -167,7 +167,7 @@ const bukhari = await api.searchHadith("fasting", "bukhari");
|
|
|
167
167
|
console.log(bukhari.count); // Bukhari hadith about fasting
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
Learn more: [Hadith Collections](https://widequran.com/hadith/) · [Hadith Search](https://widequran.com/hadith/
|
|
170
|
+
Learn more: [Hadith Collections](https://widequran.com/hadith/) · [Hadith Search](https://widequran.com/hadith/)
|
|
171
171
|
|
|
172
172
|
### Tafsir Commentary
|
|
173
173
|
|
|
@@ -191,7 +191,7 @@ for (const entry of fatihahTafsir.results) {
|
|
|
191
191
|
}
|
|
192
192
|
```
|
|
193
193
|
|
|
194
|
-
Learn more: [Tafsir Ibn Kathir](https://widequran.com/tafsir/) · [Tafsir Methodology](https://widequran.com/
|
|
194
|
+
Learn more: [Tafsir Ibn Kathir](https://widequran.com/tafsir/) · [Tafsir Methodology](https://widequran.com/glossary/)
|
|
195
195
|
|
|
196
196
|
### Prophets & Quranic Figures
|
|
197
197
|
|
|
@@ -219,7 +219,7 @@ console.log(ibrahim.is_prophet); // true
|
|
|
219
219
|
console.log(ibrahim.mention_count); // Mentions across the Quran
|
|
220
220
|
```
|
|
221
221
|
|
|
222
|
-
Learn more: [Prophets in the Quran](https://widequran.com/people/) · [Prophet Stories](https://widequran.com/
|
|
222
|
+
Learn more: [Prophets in the Quran](https://widequran.com/people/) · [Prophet Stories](https://widequran.com/glossary/)
|
|
223
223
|
|
|
224
224
|
### Topics & Glossary
|
|
225
225
|
|
|
@@ -306,7 +306,7 @@ import type {
|
|
|
306
306
|
|
|
307
307
|
## Learn More About the Quran
|
|
308
308
|
|
|
309
|
-
- **Browse**: [Surahs](https://widequran.com/
|
|
309
|
+
- **Browse**: [Surahs](https://widequran.com/) · [Translations](https://widequran.com/translations/) · [Juz](https://widequran.com/juz/)
|
|
310
310
|
- **Study**: [Tafsir](https://widequran.com/tafsir/) · [Topics](https://widequran.com/topics/) · [People](https://widequran.com/people/)
|
|
311
311
|
- **Reference**: [Hadith Collections](https://widequran.com/hadith/) · [Glossary](https://widequran.com/glossary/)
|
|
312
312
|
- **API**: [REST API Docs](https://widequran.com/developers/) · [OpenAPI Spec](https://widequran.com/api/openapi.json)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "widequran",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "TypeScript SDK for WideQuran -- 114 surahs, 31,240 ayahs, 7,604 hadith, tafsir commentary, and Islamic encyclopedia. Zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|