@thomasc93/holidates

1.0.6 • Public • Published

holidays-CLI

Intro

Holidates allows you to get the holidays' names and date of any country and at any given year.

How to use

install the package with npm i @thomasc93/holidates

Write this command line to get the holidays of a certain country of the current year.

npx holidates myCountry

For example :

npx holidates Belgium

If you want the holidays of a specific year, simply add it after the country :

npx holidates myCountry myYear

For example :

npx holidates Belgium 2017

Sources

How to parse command line arguments : https://nodejs.org/en/knowledge/command-line/how-to-parse-command-line-arguments/

Documentation on the date nager API: https://date.nager.at/Api

Documentation on the Country-List package: https://www.npmjs.com/package/country-list

Readme

Keywords

none

Package Sidebar

Install

npm i @thomasc93/holidates

Weekly Downloads

1

Version

1.0.6

License

ISC

Unpacked Size

2.04 kB

Total Files

3

Last publish

Collaborators

  • thomasc93