UNPKG

@kmaslesa/quran-word-by-word

Version:

Qur'an words

275 lines (269 loc) 4.95 kB
# بسم الله الرحمن الرحيم # Quran words ## Installation ```bash npm i @kmaslesa/quran-word-by-word ``` ## Usage ```typescript const quranWords = require('@kmaslesa/quran-word-by-word'); ``` ```typescript quranWords.getAllQuranWords(); quranWords.getWordsByPage(1); //page = (1-604) RESPONSE: { "words":[ { "suraName":"الفاتحة - Al-Fatihah" }, { "words":[ { "code":"ﭑ", "index":1, "audio":"001/001_001_001.mp3", "charType":"word" }, { "code":"ﭒ", "index":1, "audio":"001/001_001_002.mp3", "charType":"word" }, { "code":"ﭓ", "index":1, "audio":"001/001_001_003.mp3", "charType":"word" }, { "code":"ﭔ", "index":1, "audio":"001/001_001_004.mp3", "charType":"word" }, { "code":"ﭕ", "index":1, "audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001001.mp3", "charType":"end" } ] }, { "words":[ { "code":"ﭖ", "index":2, "audio":"001/001_002_001.mp3", "charType":"word" }, { "code":"ﭗ", "index":2, "audio":"001/001_002_002.mp3", "charType":"word" }, { "code":"ﭘ", "index":2, "audio":"001/001_002_003.mp3", "charType":"word" }, { "code":"ﭙ", "index":2, "audio":"001/001_002_004.mp3", "charType":"word" }, { "code":"ﭚ", "index":2, "audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001002.mp3", "charType":"end" } ] }, { "words":[ { "code":"ﭛ", "index":3, "audio":"001/001_003_001.mp3", "charType":"word" }, { "code":"ﭜ", "index":3, "audio":"001/001_003_002.mp3", "charType":"word" }, { "code":"ﭝ", "index":3, "audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001003.mp3", "charType":"end" }, { "code":"ﭞ", "index":4, "audio":"001/001_004_001.mp3", "charType":"word" }, { "code":"ﭟ", "index":4, "audio":"001/001_004_002.mp3", "charType":"word" }, { "code":"ﭠ", "index":4, "audio":"001/001_004_003.mp3", "charType":"word" }, { "code":"ﭡ", "index":4, "audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001004.mp3", "charType":"end" } ] }, { "words":[ { "code":"ﭢ", "index":5, "audio":"001/001_005_001.mp3", "charType":"word" }, { "code":"ﭣ", "index":5, "audio":"001/001_005_002.mp3", "charType":"word" }, { "code":"ﭤ", "index":5, "audio":"001/001_005_003.mp3", "charType":"word" }, { "code":"ﭥ", "index":5, "audio":"001/001_005_004.mp3", "charType":"word" }, { "code":"ﭦ", "index":5, "audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001005.mp3", "charType":"end" }, { "code":"ﭧ", "index":6, "audio":"001/001_006_001.mp3", "charType":"word" } ] }, { "words":[ { "code":"ﭨ", "index":6, "audio":"001/001_006_002.mp3", "charType":"word" }, { "code":"ﭩ", "index":6, "audio":"001/001_006_003.mp3", "charType":"word" }, { "code":"ﭪ", "index":6, "audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001006.mp3", "charType":"end" }, { "code":"ﭫ", "index":7, "audio":"001/001_007_001.mp3", "charType":"word" }, { "code":"ﭬ", "index":7, "audio":"001/001_007_002.mp3", "charType":"word" }, { "code":"ﭭ", "index":7, "audio":"001/001_007_003.mp3", "charType":"word" } ] }, { "words":[ { "code":"ﭮ", "index":7, "audio":"001/001_007_004.mp3", "charType":"word" }, { "code":"ﭯ", "index":7, "audio":"001/001_007_005.mp3", "charType":"word" }, { "code":"ﭰ", "index":7, "audio":"001/001_007_006.mp3", "charType":"word" }, { "code":"ﭱ", "index":7, "audio":"001/001_007_007.mp3", "charType":"word" } ] }, { "words":[ { "code":"ﭲ", "index":7, "audio":"001/001_007_008.mp3", "charType":"word" }, { "code":"ﭳ", "index":7, "audio":"001/001_007_009.mp3", "charType":"word" }, { "code":"ﭴ", "index":7, "audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001007.mp3", "charType":"end" } ] } ], "page":1 } ``` ## License [MIT](https://choosealicense.com/licenses/mit/)