UNPKG

adhan.js

Version:

A powerful JavaScript library for interacting with the Adhan API

28 lines (22 loc) 655 B
**[Wiki documentation](https://github.com/adhanjs/adhan.js/wiki)** ## About **adhan.js** is a powerful **[Node.js](https://nodejs.org/)** module that allows you to easily interact with the **[Al-Adhan Prayer Times API](https://aladhan.com/prayer-times-api)**. - Object-oriented - Predictable abstractions - Performant - 100% coverage of the Prayer Times API ## Installation **Node.js 18 or newer is required.** ```cmd npm install adhan.js ``` ## Example usage ```js import Client from "adhan.js"; const api = new Client({ latitude: 21.4225, longitude: 39.8262 }); const timings = api.timings(); console.log(timings); ```