@dogukanermis/countrycode-cli
v1.2.0
Published
A command line tool that takes a country name as parameter and gives the public holiday of the country for the current year
Downloads
9
Readme
Node.JS: Holidates CLI
- NPM : @dogukanermis/holidates-cli
- Version : 1.2.0
- Author : Dogukan Ermis
My first tool, with Node.JS
Description
A command line tool that takes a country name as parameter and gives the public holiday of the country for the current year
Installation
$ npm install @dogukanermis/holidates-cli
How to use
$ holidates [country-name]
Example of use :
$ holidates Turkey
2019-01-01 New Year's Day
2019-01-02 St. Berchtold's Day
2019-01-06 Epiphany
2019-03-19 Saint Joseph's Day
2019-04-19 Good Friday
2019-04-22 Easter Monday
2019-05-01 Labour Day
2019-05-30 Ascension Day
2019-06-10 Whit Monday
2019-06-20 Corpus Christi
2019-08-01 Swiss National Day
2019-08-15 Assumption of the Virgin Mary
2019-09-16 Jeûne Fédéral
2019-11-01 All Saints' Day
2019-12-08 Immaculate Conception
2019-12-25 Christmas Day
BeCode.org challenge
- Repository : [...]-CLI (name as you want with CLI)
- Deadline : 26/11/2019 5:00 pm
- Team : solo
- Submission : When the tool is published on npm, simply send us the page of your npm package.
Tools and resources
- Nager.Date documentation
- Nager.Date
- Wikipedia : Shebang
- NPM : country-list
- NPM : axios
- process.argv