Skip to content

Prayer times library providing integration support for multiple environments: vanilla JS, WordPress plugin, components. It's lightweight, has multiple themes, and easy to configure.

License

Notifications You must be signed in to change notification settings

NazimHAli/beautiful-salat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7a415f3 · Jul 3, 2024
Jun 29, 2024
Dec 7, 2021
Jun 29, 2024
Jun 29, 2024
Dec 12, 2021
Dec 12, 2021
Dec 12, 2021
Dec 30, 2021
Dec 12, 2021
Dec 12, 2021
Dec 7, 2021
Jun 29, 2024
Dec 6, 2021
Dec 17, 2021
Dec 7, 2021
Dec 15, 2021
Jun 29, 2024
Jul 3, 2024
Dec 30, 2021
Dec 15, 2021
Jun 29, 2024

Repository files navigation

Beautiful Salat

Still in BETA

Build Unit Tests Lint

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.

Features

  • 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

image

Quick Start

yarn add beautiful-salat

Basic Usage

Todays Prayer Times
import { PrayerTimes } from "beautiful-salat";

const ptModule = new PrayerTimes("ISNA");
const prayerTimes = ptModule.getPrayerTimes(date=new Date(), coords=[43, -80], timezone=-5);

Dev Quick Start

yarn install
yarn dev

Contributions welcome!

Open a PR or issue

Credits

praytimes.org