Skip to content

A simple typescript utility to check if a certain date is regarded as a holiday in canton Vaud in Switzerland. (it doesn't take school holidays into account)

License

Notifications You must be signed in to change notification settings

pjurczynski/is-it-vaud-holiday

Repository files navigation

Vaud Holidays util

A simple typescript utility to check if a certain date is regarded as a holiday in canton Vaud in Switzerland. (it doesn't take school holidays into account)

Installation

Yarn:

yarn add is-it-vaud-holiday

npm:

npm install is-it-vaud-holiday

Usage

import { isHoliday } from 'is-vaud-holiday';
isHoliday(new Date('1 August 2023'));

About

A simple typescript utility to check if a certain date is regarded as a holiday in canton Vaud in Switzerland. (it doesn't take school holidays into account)

Resources

License

Stars

Watchers

Forks

Packages

No packages published