Returns holidays and name days on a specified date (cz)
npm install holidays-cz
Get holidays on specified date.
Get name days on specified date.
Get holidays and name days on a specified date.
var HolidaysCz = require('holidays-cz');
var date = new Date(2015, 11, 24);
// returns: [ 'Štědrý den' ]
console.log(HolidaysCz.getHolidays(date));
// returns: [ 'Adam', 'Eva' ]
console.log(HolidaysCz.getNamedays(date));
// returns: { holidays: [ 'Štědrý den' ], namedays: [ 'Adam', 'Eva' ] }
console.log(HolidaysCz.getAll(date));