@thomasc93/holidates

Holidates allows you to get the holidays' names and date of any country and at any given year.


License
ISC
Install
npm install @thomasc93/holidates@1.0.2

Documentation

holidays-CLI

Intro

Holidates allows you to get the holidays' names and date of any country and at any given year.

How to use

install the package with npm i @thomasc93/holidates

Write this command line to get the holidays of a certain country of the current year.

holidates myCountry

For example :

holidates Belgium

If you want the holidays of a specific year, simply add it after the country :

holidates myCountry myYear

For example :

holidates Belgium 2017

Sources

How to parse command line arguments : https://nodejs.org/en/knowledge/command-line/how-to-parse-command-line-arguments/

Documentation on the date nager API: https://date.nager.at/Api

Documentation on the Country-List package: https://www.npmjs.com/package/country-list