1.0.0 • Published 4 years ago
@t0m1337/holidates v1.0.0
Node.JS: Holidates
- NPM : @t0m1337/holidates
- Version : 1.0.0
- Author : Thomas Dussart
Description
A command line tool that take a country name as parameter and give the public holiday of the country for the current year
Installation
$ npm install @t0m1337/holidates
How to use
$ holidates country-name
Example of use :
$ holidates Belgium
2020-01-01 : New Year's Day 2020-04-12 : Easter Sunday 2020-04-13 : Easter Monday 2020-05-01 : Labour Day 2020-05-21 : Ascension Day 2020-06-01 : Whit Monday 2020-07-21 : Belgian National Day 2020-08-15 : Assumption Day 2020-11-01 : All Saints' Day 2020-11-11 : Armistice Day 2020-12-25 : Christmas Day
if
holidates
is launched without parameter, user will be asking to give a country name by prompt message
Tools and resources
- Nager.Date documentation
- Nager.Date
- Wikipedia : Shebang
- NPM : country-list
- NPM : axios
- NPM : readlineSync
- NPM : country-list
- NPM : axios
- NPM : readlineSync
- NPM : Chalk
- NPM : Ora
- HOW TO : Build a Command Line Application with Node.js