@georisval/holidates
v1.0.1
Published
Returns a list of the defined country's national holidays.
Downloads
3
Readme
createAPI-CLI
OK this is not a project to create an API
Description: This is a function allowing to fetch holidays from specified countries using the API from Date Nager.
This is done in pear coding by
- Valentin Georis
- Aurélie Winkin
Usage
- holydates country (year): Returns the public holidays from the specified country, and the specified year if added; if none is added, will fetch this years'.
- holydates list: Returns a list of countries. Not all of them can be used with this tool, though! If there is a space in the name, make sure to put the name between
"
or'
!
Tools used
- Node
- NPM
- Country List
- Axios
- Chalk
- VS Code
- Peer Coding