1.0.2 • Published 4 years ago

@ptit-naud/holidates v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

holidates

Hello ! Thank you for downloading my holidates tool :)

What is it ?

holidates is a tool I created during my formation in web development at BeCode Liège, Belgium. It will allow you to display a list of holidays of the current year for the country name you will enter.

How it works ?

  1. You enter the name of a country in english, then
  2. it checks with the country-list package that the country name entered is correct and supported by the API,
  3. converts the country name into its country code,
  4. makes an HTTP request to the API of the nager.date service,
  5. retrieves the holidays data of the chosen country,
  6. transform the data into a readable and understandable list (date : holiday)

How to use it ?

Once you installed it with npm, enter the following command :

holidates <country>

Replace \ by a country of your choice in english.

Version

1.0.2

Modified the README

1.0.1

Corrected the .json file to make the package work

1.0.0

Initial