Salam Alaykoum :D
Prayer times library providing integration support for multiple environments: vanilla JS, WordPress plugin, components. Released the WordPress plugin 5+ years ago and upgrading it to use latest Gutenberg blocks.
- Multiple prayer times calculation methods
- Daily, weekly, monthly, yearly tables
- Calculations client-side
- Original version parsed data from Islamic Finder XML endpoints
- Theme support
- Integrations
- Vanilla JS
- WordPress plugin
- Components
- Typescript with interfaces
- Unit tested
yarn add beautiful-salat
import { PrayerTimes } from "beautiful-salat";
const ptModule = new PrayerTimes("ISNA");
const prayerTimes = ptModule.getPrayerTimes(date=new Date(), coords=[43, -80], timezone=-5);
yarn install
yarn dev
Open a PR or issue
- Detailed mathemathical calculation explanations
- Code references + multiple libraries
- Their latest Javascript version is 10+ years old
- I rewrote it with Typescript, added testing, fixed detected type bugs