# adhan-clock

> adhan-clock is a prayer times calculation library for Muslims

Latest version **1.1.1** (published 2024-03-30) · LGPL-3.0+ license · 0 weekly downloads

## Install

```sh
npm install adhan-clock
pnpm add adhan-clock
yarn add adhan-clock
bun add adhan-clock
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2024-03-30 |
| First published | 2023-06-14 |
| Weekly downloads | 0 |
| License | LGPL-3.0+ |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 23.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mohammad Chohan |
| Maintainers | famulu |
| Keywords | muslim, islam, adhan, athan, prayer, salah, namaaz, fajr, dhuhr, zuhr, asr, maghrib, magrib, isha |

## Links

- npm: https://www.npmjs.com/package/adhan-clock
- Repository: https://github.com/famulu/adhan
- Homepage: https://github.com/famulu/adhan#readme
- Issues: https://github.com/famulu/adhan/issues
- npm.io page: https://npm.io/package/adhan-clock

## Dependencies (1)

- [vite-plugin-dts](https://npm.io/package/vite-plugin-dts.md) ^2.3.0

## Recent versions

- 1.1.1 (latest) — 2024-03-30
- 1.1.0 — 2024-03-30
- 1.0.0 — 2023-06-14

## 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:

```bash
npm install adhan-clock
```

## Usage

```js
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.

---
_Source: https://npm.io/package/adhan-clock · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
