holiday-lk
Holidays in Sri Lanka holiday-lk
Installation
npm install holiday-lk
Usage
var holiday = // find holidays between 2019-01-10 ~ 2019-01-20// returns Array of Object (see below for their properties)holiday // whether given date is holiday or not// return true (or false)holiday
Properties
dayName: String
- day of the week (ex. "Sunday")date: Date
- Date object of the holiday (ex. 2019-02-04T00:00:00.000Z)name: String
- name of the holiday (ex. "National Day")
License
MIT