# بسم الله الرحمن الرحيم 
# 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":"&#xfb51;",
					"index":1,
					"audio":"001/001_001_001.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb52;",
					"index":1,
					"audio":"001/001_001_002.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb53;",
					"index":1,
					"audio":"001/001_001_003.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb54;",
					"index":1,
					"audio":"001/001_001_004.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb55;",
					"index":1,
					"audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001001.mp3",
					"charType":"end"
				}
			]
		},
		{
			"words":[
				{
					"code":"&#xfb56;",
					"index":2,
					"audio":"001/001_002_001.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb57;",
					"index":2,
					"audio":"001/001_002_002.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb58;",
					"index":2,
					"audio":"001/001_002_003.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb59;",
					"index":2,
					"audio":"001/001_002_004.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb5a;",
					"index":2,
					"audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001002.mp3",
					"charType":"end"
				}
			]
		},
		{
			"words":[
				{
					"code":"&#xfb5b;",
					"index":3,
					"audio":"001/001_003_001.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb5c;",
					"index":3,
					"audio":"001/001_003_002.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb5d;",
					"index":3,
					"audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001003.mp3",
					"charType":"end"
				},
				{
					"code":"&#xfb5e;",
					"index":4,
					"audio":"001/001_004_001.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb5f;",
					"index":4,
					"audio":"001/001_004_002.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb60;",
					"index":4,
					"audio":"001/001_004_003.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb61;",
					"index":4,
					"audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001004.mp3",
					"charType":"end"
				}
			]
		},
		{
			"words":[
				{
					"code":"&#xfb62;",
					"index":5,
					"audio":"001/001_005_001.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb63;",
					"index":5,
					"audio":"001/001_005_002.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb64;",
					"index":5,
					"audio":"001/001_005_003.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb65;",
					"index":5,
					"audio":"001/001_005_004.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb66;",
					"index":5,
					"audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001005.mp3",
					"charType":"end"
				},
				{
					"code":"&#xfb67;",
					"index":6,
					"audio":"001/001_006_001.mp3",
					"charType":"word"
				}
			]
		},
		{
			"words":[
				{
					"code":"&#xfb68;",
					"index":6,
					"audio":"001/001_006_002.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb69;",
					"index":6,
					"audio":"001/001_006_003.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb6a;",
					"index":6,
					"audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001006.mp3",
					"charType":"end"
				},
				{
					"code":"&#xfb6b;",
					"index":7,
					"audio":"001/001_007_001.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb6c;",
					"index":7,
					"audio":"001/001_007_002.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb6d;",
					"index":7,
					"audio":"001/001_007_003.mp3",
					"charType":"word"
				}
			]
		},
		{
			"words":[
				{
					"code":"&#xfb6e;",
					"index":7,
					"audio":"001/001_007_004.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb6f;",
					"index":7,
					"audio":"001/001_007_005.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb70;",
					"index":7,
					"audio":"001/001_007_006.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb71;",
					"index":7,
					"audio":"001/001_007_007.mp3",
					"charType":"word"
				}
			]
		},
		{
			"words":[
				{
					"code":"&#xfb72;",
					"index":7,
					"audio":"001/001_007_008.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb73;",
					"index":7,
					"audio":"001/001_007_009.mp3",
					"charType":"word"
				},
				{
					"code":"&#xfb74;",
					"index":7,
					"audio":"https://dl.salamquran.com/ayat/afasy-murattal-192/001007.mp3",
					"charType":"end"
				}
			]
		}
	],
	"page":1
}
```


## License
[MIT](https://choosealicense.com/licenses/mit/)