Skip to content

SLKhadeeja/isimi

Repository files navigation

isimi

A package to help seamlessly integrate different holidays into your webapp.

Installation

  • Install with Yarn
   yarn add isimi

Usage

isimi({ holidays: [ {}, {}, {} ] }) //general syntax

Supported event format

//Using day and month

    {
      day: 21,
      month: 7,
      stylesheet: "/tests/styles/today.css"
    }

Using the startDate and stopDate objects for events spanning over days

    {
      startDate: {
        day: 24,
        month: 7,
      },

      stopDate: {
        day: 28,
        month: 7,
      },

      stylesheet: "/tests/styles/aprilFool.css"
    }

isimi also supports calling popular holidays by name

    {
      name: "halloween",
      stylesheet: "/tests/styles/halloween.css"
    }

Holiday names isimi understands

"christmas" "halloween" "aprilfool"

Running

  yarn build --watch

About

A package to help seamlessly integrate different holidays into your webapp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •