holidays-brazil
v1.0.3
Published
Easy to use holiday validator.
Downloads
8
Maintainers
Readme
holidays-brazil
Easy to use nodejs brazilian holiday validator.
Installation
npm install holidays-brazil
Usage
const isHoliday = require('holidays-brazil')
isHoliday(new Date()) // Returns true or false
Details
All fixed holidays are hard coded in the script, but the moving ones are calculated based on Meeus/Jones/Butcher easter date algorithm.