1.1.1 • Published 4 years ago

@dicarogreg/holidates v1.1.1

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

holidates

welcome to discover the holidays off in the world

What is it ?

holidates is a tool I created during my training 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.
  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 install it ?

You can install it using npm :

npm install @dicarogreg/holidates

Version

1.1.1

Keywords

countries holidays

Keywords

none