1.3.10 • Published 2 years ago

beautiful-salat v1.3.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

1.3.10

2 years ago

1.3.9

2 years ago

1.3.8

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago