Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Wiki documentation

About

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

Installation

Node.js 18 or newer is required.

npm install adhan.js

Example usage

importAdhanAPIfrom"adhan.js";constapi=newAdhanAPI({latitude: 21.4225,longitude: 39.8262});consttimings=api.timings();console.log(timings);

Watch Events

import{watchAdhan}from"adhan.js";forawait(consteventofwatchAdhan({latitude: 21.4225,longitude: 39.8262})){console.log(event);}
import{watchDate}from"adhan.js";forawait(consteventofwatchDate({latitude: 21.4225,longitude: 39.8262})){console.log(event);}

About

A powerful JavaScript library for interacting with the Adhan API

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Contributors

Languages