1.1.1 • Published 1 month ago

adhan-clock v1.1.1

Weekly downloads
-
License
LGPL-3.0+
Repository
github
Last release
1 month ago

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.