@kezzouraphael/hamilton-6-holidates-kezzouraphael

1.0.2 • Public • Published

Holidates

Table of contents

General info

This holidates project's purpose is to display to the user the public holiday of a country and their respective dates.

Technologies

This project is build with:

  • node.js
  • npm

Setup

To run this project, make sure you have the latest version of node.js and npm installed :

$ npm install -g npm@latest

By adding the n module, you can interactively manage Node.js versions.

  1. First, clear the npm cache:
$ npm cache clean -f
  1. Install n, Node’s version manager:
$ npm install -g n
  1. With the n module installed, you can use it to:
  • Install the latest stable version:
$ sudo n stable

Note: Some Ubuntu distros may respond with the command not found output after running the n command. To fix this issue run sudo -E env "PATH=$PATH" [command]. For example, to install the latest stable version, as in the example above, you would run sudo -E env "PATH=$PATH" n stable.

  • Install the latest release:
$ sudo n latest
  • Install a specific version:
$ sudo n [version.number]

Then you can install the package there :

$ npm i @kezzouraphael/hamilton-6-holidates-kezzouraphael

Usage

$ holidates [country-name] [year]

NB : You can put your country name into " " or without example :

 $ holidates United states of america 1999
 // ===
 $ holidates "United States of America" 1999

The only thing you have to pay attention to are the spaces they're required you can't put :

$ holidates unitedstatesofamerica 1999

Contributor

  • Kezzou Raphael
  1. My mail
  2. My github

License

This project is under the MIT license

Back to top

Readme

Keywords

none

Package Sidebar

Install

npm i @kezzouraphael/hamilton-6-holidates-kezzouraphael

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

5.09 kB

Total Files

4

Last publish

Collaborators

  • kezzouraphael