@leansman/holidates

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @leansman/holidates

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

2.83 kB

Total Files

3

Last publish

Collaborators

  • leansman