@astrocoders/holidays-br

BR holidays

Usage no npm install needed!

<script type="module">
  import astrocodersHolidaysBr from 'https://cdn.skypack.dev/@astrocoders/holidays-br';
</script>

README

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