holiday-br

1.0.0 • Public • Published

Node Holiday BR

Brazilian holiday list and helper functions

Build Status

Installing

npm install holiday-pt

Usage

var
    holidays = require('holiday-br');
 
// Get a list of holidays between two dates
curYearHolidays = holidays.between(new Date(2015,0,1),new Date(2016,0,1));
 
// Check if a specific date is a holiday
if ( holidays.isHoliday(new Date(2048,4-1,25)) ) {
    console.log("Long live freedom!");
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2
  • 0.0.1
    1

Package Sidebar

Install

npm i holiday-br

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • alexsuzume