@jbouduin/holidays-lib
Version:
Get World-Wide Holidays
39 lines (28 loc) • 2.64 kB
Markdown
# @jbouduin/holidays
[](https://travis-ci.org/github/jbouduin/holiday)
[](https://coveralls.io/github/jbouduin/holiday?branch=master)
[](https://github.com/jbouduin/holiday/issues)
[](/LICENSE)
[](https://lerna.js.org/)
This library gives you a list of holidays for a given year and location. The definitions for calculating the holidays are stored in [configuration files](/docs/configuration/configuration.md).
The original idea comes from [Jollyday](https://github.com/svendiedrichsen/jollyday), a Java project offering the same functionality.
## Status
Following [types of holidays](https://github.com/jbouduin/holiday/blob/master/packages/holidays-lib/src/configuration/types/holiday-type.ts) are planned/implemented
| Enum value | Description | Implementation status |
| ---------------------- | -------------------------------------------------------- | :-------------------: |
| CHRISTIAN | [Details](/docs/configuration/christian.md) | :white_check_mark: |
| ETHIOPIAN_ORTHODOX | [Details](/docs/configuration/ethiopian-orthodox.md) | :x: |
| FIXED_DATE | [Details](/docs/configuration/fixed-date.md) | :white_check_mark: |
| FIXED_WEEKDAY | [Details](/docs/configuration/fixed-weekday.md) | :white_check_mark: |
| HEBREW | [Details](/docs/configuration/hebrew.md) | :x: |
| ISLAMIC | [Details](/docs/configuration/islamic.md) | :x: |
| RELATIVE_BETWEEN_FIXED | [Details](/docs/configuration/relative-between-fixed.md) | :white_check_mark: |
| RELATIVE_TO_DATE | [Details](/docs/configuration/relative-to-date.md) | :white_check_mark: |
| RELATIVE_TO_WEEKDAY | [Details](/docs/configuration/relative-to-weekday.md) | :white_check_mark: |
## Demo Site
Source: [holiday-site](https://github.jbouduin/holiday-site)
Demo: [here](https://jbouduin.github.io/holiday-site/)

## Demo Service Implementation
Source [holiday-server](https://github.com/jbouduin/holiday-server)
