1.0.3 • Published 1 year ago

holidays-brazil v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago