Holidates
This tool will verify that the parameter is a well-formatted country name, transform it onto a two-letters country code, then perform an HTTP request to the API of the nager.date service.
This package will display a list of holidays dates for a country for a certain year in a readable way in the terminal.
How to use it ?
To use this package, simply run :
npx @leansman/holidates Belgium
You can remplace Belgium with any country you want.
You can also add the year as a second parameters :
npx @leansman/holidates Belgium 2001
The country name should be a well-formatted country name.