check-jewish-shabbos-and-yom-tov
v1.0.3
Published
This project helps determine whether a given date is a Jewish Shabbos (Sabbath) or Yom Tov (Jewish holiday).
Downloads
9
Readme
Check Jewish Shabbos and Yom Tov
This project helps determine whether a given date is a Jewish Shabbos (Sabbath) or Yom Tov (Jewish holiday).
Installation
- Clone the repository:
ornpm i check-jewish-shabbos-and-yom-tov
git clone https://github.com/ivrtop770/check-jewish-shabbos-and-yom-tov.git
- Navigate to the project directory:
cd check-jewish-shabbos-and-yom-tov
- Install the required dependencies:
npm install
Usage
To check if a date is Shabbos or Yom Tov, run the following command:
const checkJewishShabbosAndYomTov = require('check-jewish-shabbos-and-yom-tov');
console.log(checkJewishShabbosAndYomTov(new Date("2024-10-16"))); // true becose is sukkut
//or
console.log(checkJewishShabbosAndYomTov()); // for current day - true or false