npm.io
1.0.2 • Published 7 years agoCLI

@ktor_vi/prettyholidays

Licence
ISC
Version
1.0.2
Deps
2
Size
4 kB
Vulns
25
Weekly
0

prettyholidays

First and simple project in node.js

Install & Run:

npm i @ktor_vi/prettyholidays
prettyholidays-pimpednprompty

And you're off !

Goals :
  • Learn the basics of node.js
  • Use axios to make requests to an API (In this case date.nager REST API)
What the script does :
  • Retrieves holiday data per specified country, and diplays itin the terminal.
  • Simple yet effective error handling, both on the user and API side.
Bonus :

Some Styling (Pimp my Node)