1.0.1 • Published 6 years ago

holidays-br v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

holidays-br

Build Status

BR holidays

Installation

yarn add @astrocoders/holidays-br

If you'll use this only in JS, skip the next step because you can just import now

import { isHoliday } from '@astrocoders/holidays-br'

isHoliday(new Date())

BuckleScript

Add to deps in bsconfig.json

  "bs-dependencies": ["@astrocoders/holidays-br"]

Usage

Only for values from 2015/01/01

HolidaysBr.Holiday.isHoliday(Js.Date.t) => bool