0.0.3 • Published 2 years ago

@lunasha/holidays v0.0.3

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

Holidays NPM

Luna Muylkens

Github : https://github.com/LunashaGit NPM : https://www.npmjs.com/package/@lunasha/holidays

Technology are used?

Javascript NodeJS Axios (NPM) Country-List (NPM) Nager API

How to install ?

npm i @lunasha/holidays

How use the command ?

npx holidays Country Year

Example :

npx holidays United states of america 2022

Logic ?

Holidays => CLI Country => Var ( => Country-List NPM for take the country Code ) Year => Var

Axios GET API => Nager With the API URL NAGER => Transform Year and Country ForEach Date => It gives me the Name and the Date

Holidays country year CLI Parameter Parameter

How space isn't an error ?

Simple:

.join() Element => Table => Ouput Element with Space => Ex : "United States of america"

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago