Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

holidays-cs

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

holidays-cs - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

2

dist/index.d.ts
export * from './easter.js';
export * from './holidays.js';
export * from './fathers-day.js';
export * from './mothers-day.js';
export * from './significant.js';
export * from './shops.js';
export * from './get-meta.js';
export * from './easter.js';
export * from './holidays.js';
export * from './fathers-day.js';
export * from './mothers-day.js';
export * from './significant.js';
export * from './shops.js';
export * from './get-meta.js';

2

dist/significant.js
import { DateTime } from 'luxon';
import data from './significant.json' assert { type: 'json' };
import data from './significant.json';
/**

@@ -4,0 +4,0 @@ * Zákon č. 245/2000 Sb., o státních svátcích a národních svátcích České republiky

{
"name": "holidays-cs",
"version": "1.0.2",
"version": "2.0.0",
"author": "Roman Ožana <roman@ozana.cz> (https://ozana.cz)",

@@ -37,3 +37,3 @@ "repository": "OzzyCzech/holidays-cs",

"dependencies": {
"easter-date": "0.0.9",
"easter-date": "0.0.10",
"luxon": "^3.4.4"

@@ -43,6 +43,6 @@ },

"@types/luxon": "^3.4.2",
"@types/node": "^20.12.7",
"@types/node": "^20.12.12",
"ava": "^6.1.2",
"np": "^10.0.5",
"tsx": "^4.7.3",
"tsx": "^4.10.2",
"typescript": "^5.4.5",

@@ -49,0 +49,0 @@ "xo": "^0.58.0"

@@ -161,20 +161,2 @@ # Holidays (cs)

## Father's and Mother's Day
Father's Day is celebrated on the **third Sunday in June**.
Mother's Day is celebrated on the **second Sunday in May**.
```javascript
import {DateTime} from 'luxon';
import {isFathersDay, getFathersDay, isMothersDay, getMothersDay} from 'holidays-cs';
// 16. june 2024
isFathersDay(DateTime.fromISO('2024-06-16')); // true
getFathersDay(2024).toISODate(); // 2024-06-16
// 12. may 2024
isMothersDay(DateTime.fromISO('2024-05-12')); // true
getMothersDay(2024).toISODate(); // 2024-05-12
```
## Credits

@@ -181,0 +163,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc