1.0.3 • Published 2 years ago

holidays-brazil v1.0.3

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

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.

License

MIT

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago