Skip to content

Commit

Permalink
Added isPublicHoliday to example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythe1337N committed Nov 1, 2021
1 parent bdc7a01 commit 1a0064c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ $ npm install swedish-holidays

## How to use:
```js
const { getHolidays, getUpcomingHolidays, isHoliday } = require('swedish-holidays');
const {
getHolidays,
getUpcomingHolidays,
isHoliday,
isPublicHoliday
} = require('swedish-holidays');

// Get an array of all holidays for the current
const holidays = getHolidays();
Expand Down

0 comments on commit 1a0064c

Please sign in to comment.