Giter Club home page Giter Club logo

is-holiday's Introduction

is-holiday Build Status

Get todays Federal Public Holidays 🎊

Install

$ npm install -g is-holiday

Usage

$ is-holiday --help

  Usage:
    $ is-holiday          Check if today is a holiday

  Example:
    $ is-holiday
    $ is-holiday --month
    $ is-holiday --year

  Options:
    -m, --month           Get every holiday for the current month
    -y, --year            Get every holiday for the current year

    -h, --help            Show help options
    -v, --version         Show version

Demo

Related

  • holiday — 📆 List of Federal Public Holidays

License

MIT © Bu Kinoshita

is-holiday's People

Contributors

bukinoshita avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

is-holiday's Issues

Get list of holidays of the current month

Check the API

Should return something like this:

Holidays in January:
----
⇢ 1: New Years Day
⇢ 2: New Years Day Holiday
⇢ 16: Martin Luther King Day

Where the Holidays in January and the day are bold. (Use chalk)

Code optimization

there are some repeated lines, we can optimize it and also prepare the code for accepting more countries

Get list of holidays of the current year

We can get a list of holidays of the whole year now on holiday v0.0.2.

Should something like this:

Holidays in 2017:
----
January:
⇢ 1: New Years Day
⇢ 2: New Years Day Holiday
⇢ 16: Martin Luther King Day

February:
⇢ 1: New Years Day
⇢ 2: New Years Day Holiday
⇢ 16: Martin Luther King Day

Where `Holidays in 2017:`, `January:` and `⇢ 1:` are bold.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.