1.0.3 • Published 3 years ago
@lucasielli/nodetest-cli v1.0.3
Holiday terminal app
Hello and welcome !
What is this project?
This very little app was made to train my node
skills and displayed on a terminal. Before going on react
during my course at BeCode. Just after 4 weeks only on Php
! So, a little remind for JS
:D
What you can do with it?
You'll be able to ask to the app the holidays and the year for a specific country, after the ressources you got the instructions.
Ressources :
- I took the API country-list from Nager.
- For the http request Axios.
- I used Chalk for the colors.
- I used Figlet for the title.
- To be honest, I tried to use Ora.
How to use it?
- Make sure you got npm and node installed, that's better if you got the latest version.
- From your terminal, go in the folder and use
npm install
it'll install all the packages I used to create this app. - You have now these two following commands :
holidates country-you-want year-you-want
holidates country-you-want
- As an example for my country and my birthdate :
holidates belgium 1993
- NB : if you don't type any year it'll show the holidates for the current year.
Still WIP
I'm working on a version 1.0.4 to solve the issue of countries with 2-3-4 words. Second issue, I want to use the library Ora, will come asap. And yes, I'm learning now so any help is welcome !