1.0.2 • Published 6 years ago

vacation-days v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Vacation Days

This is a npm package that provides various vacation day related functions, mainly determining if a certain date is a vacation day in a specific country

Example

const vacationDays = require('vacation-days');

console.log(vacationDays.isVacationDay('ZA', new Date('2018-03-20'))); // false
console.log(vacationDays.isVacationDay('ZA', new Date('2018-03-21'))); // true

Supported Countries

The following countries are currently supported, but please feel free to add any missing countries to this project

CountryCode20182019
South AfricaZA