adhan-clock
v1.1.1
Published
adhan-clock is a prayer times calculation library for Muslims
Downloads
35
Maintainers
Readme
adhan-clock
Description
This is a fully typed package for calculating Muslim prayer times. It's designed to be easy to use and accurate, providing prayer times based on location and date.
Installation
To install this package, use the following commands:
npm install adhan-clock
Usage
import { PrayerTimes } from 'adhan-clock';
const prayerTimes = new PrayerTimes();
const times = prayerTimes.getTimes(new Date(), [43.70, -79.42]);
console.log(times);
This will output the prayer times for the current date in Toronto, Canada.
Contributing
Contributions are welcome! Please submit a pull request with any enhancements, fixes, or features.