# @monsterbilligt/date-fns-holidays

> Provides replacement functions for `date-fns@2.x` that take into account Danish holidays.

Latest version **1.1.0** (published 2021-06-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install @monsterbilligt/date-fns-holidays
pnpm add @monsterbilligt/date-fns-holidays
yarn add @monsterbilligt/date-fns-holidays
bun add @monsterbilligt/date-fns-holidays
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2021-06-07 |
| First published | 2021-05-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | gustavgb |

## Links

- npm: https://www.npmjs.com/package/@monsterbilligt/date-fns-holidays
- npm.io page: https://npm.io/package/@monsterbilligt/date-fns-holidays

## Dependencies (1)

- [date-fns](https://npm.io/package/date-fns.md) ^2.21.3

## Recent versions

- 1.1.0 (latest) — 2021-06-07
- 1.0.1 — 2021-05-13
- 1.0.0 — 2021-05-13

## README

# date-fns-holidays

Provides replacement functions for `date-fns@2.x` that take into account Danish holidays.

## Installation

`npm i @monsterbilligt/date-fns-holidays`

## Usage

```js
import { addBusinessDays, differenceInBusinessDays } from '@monsterbilligt/date-fns-holidays'

const newDate = addBusinessDays(new Date(), 10) // Adds 10 business days to today

const diff = differenceInBusinessDays(newDate, new Date()) // Should be 10
```

---
_Source: https://npm.io/package/@monsterbilligt/date-fns-holidays · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
