Holidates-CLI
Description
Holidates-CLI is a Command Line Tool that takes a country name and a year as parameters then returns the list of the national holidays of that country on that specific year. If no year was specified, it returns the list for the current year.
Installation
$ npm install @lyzzia/holidates
Usage
$ holidates [country][year]
If you run in your terminal the following command:
$ holidates Germany 2019
This will give you as result:
2019-01-01 : New Year's Day 2019-01-06 : Epiphany 2019-03-08 : International Women's Day 2019-04-19 : Good Friday 2019-04-22 : Easter Monday 2019-05-01 : Labour Day 2019-05-30 : Ascension Day 2019-06-10 : Whit Monday 2019-06-20 : Corpus Christi 2019-08-15 : Assumption Day 2019-09-20 : World Children's Day 2019-10-03 : German Unity Day 2019-10-31 : Reformation Day 2019-11-01 : All Saints' Day 2019-11-20 : Repentance and Prayer Day 2019-12-25 : Christmas Day 2019-12-26 : St. Stephen's Day