![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
jewish-holidays
Advanced tools
An easy-to-use npm package for checking Jewish holidays and Shabbat.
## InstallationTo install the package, run one of the following commands:
npm i jewish-holidays
or with yarn
yarn add jewish-holidays
You can use the package in your JavaScript projects as shown below:
import { isYomTov, isShabbat } from 'jewish-holidays';
// Check if a date is Yom Tov
const date = new Date();
const isInChutzLaaretz = true; // Adjust as needed
console.log(isYomTov(date, isInChutzLaaretz)); // true or false
// Check if a date is Shabbat
console.log(isShabbat(date)); // true or false
isYomTov
isYomTov(date: Date | BasicJewishDate, isChutzLaaretz: boolean) => boolean
Determines if the given date is a Yom Tov (Jewish holiday).
isShabbat
isShabbat(date: Date | BasicJewishDate) => boolean
Determines if the given date is Shabbat.
export declare const isErevShabbat: (date: Date | BasicJewishDate) => boolean;
export declare const isErevYomTov: (date: Date | BasicJewishDate) => boolean;
export declare const isCholHaMoed: (date: Date | BasicJewishDate, isChutzLaaretz?: boolean) => boolean;
export declare const isChanukah: (date: Date | BasicJewishDate) => boolean;
MIT
FAQs
Jewish holidays
The npm package jewish-holidays receives a total of 6 weekly downloads. As such, jewish-holidays popularity was classified as not popular.
We found that jewish-holidays demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.