praye.js
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

praye.js

Lightweight and highly accurate low-level library for calculating (Islamic) prayer times.

Usage

import { PrayerManager, getCalculationMethod } from 'praye.js';

const prayerManager = new PrayerManager(getCalculationMethod('MWL'));

const aDate = new Date(2021, 4, 12);
const aHouse: Coordinates = [38.8976763, -77.036529, 18.0];

const times = prayerManager.getTimes(aDate, aHouse);

Package Sidebar

Install

npm i praye.js

Weekly Downloads

4

Version

0.3.1

License

MIT

Unpacked Size

21.7 kB

Total Files

12

Last publish

Collaborators

  • mestery