adhan.js is a powerful Node.js module that allows you to easily interact with the Al-Adhan Prayer Times API.
- Object-oriented
- Predictable abstractions
- Performant
- 100% coverage of the Prayer Times API
Node.js 18 or newer is required.
npm install adhan.js
import Client from "adhan.js";
const api = new Client({
latitude: 21.4225,
longitude: 39.8262
});
const timings = api.timings();
console.log(timings);