1.0.3 • Published 11 months ago

holidays-brazil v1.0.3

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

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago