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

github.com/phroggyy/holiday-dates

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/phroggyy/holiday-dates

  • v0.0.0-20230917222447-cd140aac5e4d
  • Source
  • Go
  • Socket score

Version published
Created
Source

Public Holidays Finder

This application lists the public holidays for all countries available through the Nager.Date API, between two years.

This can be useful in the financial industry (ensuring payout dates do not fall on a holiday), on-call pay calculation (possibly applying higher rates for public holidays than weekdays), or really any time you need to deal with public holidays for different countries.

It can be run either as a command-line application (e.g ./dates -start-year=2023 -years=2 will get you all public holidays for 2023-2025), or as an HTTP server with the serve subcommand: ./dates serve. It will run on port 8080 (currently not configurable), and accepts a path of /:startYear/:endYear, e.g curl http://localhost:8080/2023/2025.

FAQs

Package last updated on 17 Sep 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc