Socket
Socket
Sign inDemoInstall

czech-holidays

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    czech-holidays

A function to return public holidays in the Czech Republic in the specified year.


Version published
Weekly downloads
49
decreased by-40.96%
Maintainers
1
Install size
38.3 kB
Created
Weekly downloads
 

Readme

Source

Czech Holidays

A function that lists public holidays in the Czech Republic in the specified year.

Usage

JavaScript

const { CzechHolidays } = require("czech-holidays");

const holidays2020 = CzechHolidays(2020);

Typescript


import { CzechHolidays, HolidayDate } from "czech-holidays";

const holidays2020: HolidayDate[] = CzechHolidays(2020);

Output

[
  {"d": 1, "m": 1},
  {"d": 10, "m": 4},
  {"d": 13, "m": 4},
  {"d": 1, "m": 5},
  {"d": 8, "m": 5},
  {"d": 5, "m": 7},
  {"d": 6, "m": 7},
  {"d": 28, "m": 9},
  {"d": 28, "m": 10},
  {"d": 17, "m": 11},
  {"d": 24, "m": 12},
  {"d": 25, "m": 12},
  {"d": 26, "m": 12}
]

Keywords

FAQs

Last updated on 27 Jun 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc