brazil-holidays
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published


Brazil Holidays lib


This Lib return all Brazil holidays


Instalation

npm

$ npm install --save brazil-holidays

yarn

$ yarn add brazil-holidays

Get all national holidays

import { getNationalHolidaysByYear } from 'brazil-holidays';

getNationalHolidaysByYear(2023).then(console.log);

// [
//   {
//     "date": "2023-01-01",
//     "name": "Confraternização mundial",
//     "type": "national"
//   },
//   {
//     "date": "2023-02-21",
//     "name": "Carnaval",
//     "type": "national"
//   },
//   ...
// ]

Package Sidebar

Install

npm i brazil-holidays

Weekly Downloads

10

Version

1.0.5

License

ISC

Unpacked Size

125 kB

Total Files

26

Last publish

Collaborators

  • welinton