@fineanmol/holiday-optimizer 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ const result = optimize(params);
|
|
|
18
18
|
console.log(formatReport(result, params));
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
**Related:** [`@fineanmol/public-holidays`](https://www.npmjs.com/package/@fineanmol/public-holidays) —
|
|
21
|
+
**Related:** [`@fineanmol/public-holidays`](https://www.npmjs.com/package/@fineanmol/public-holidays) — standalone holiday lookups (`isHoliday`, `nextHoliday`, etc.) with the same regional data, usable on its own without the optimizer.
|
|
22
22
|
|
|
23
23
|
## What It Does
|
|
24
24
|
|
|
@@ -32,11 +32,11 @@ It finds the best schedule that maximizes your total days off by leveraging week
|
|
|
32
32
|
|
|
33
33
|
## Features
|
|
34
34
|
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
35
|
+
- Dynamic programming to find the best possible schedule (not greedy, actually optimal)
|
|
36
|
+
- Germany and India holiday presets out of the box, easy to add more
|
|
37
|
+
- Control over min/max break length and minimum spacing between breaks
|
|
38
|
+
- Detailed output showing every date and how many total days off you get
|
|
39
|
+
- Runs fully in the browser — no server needed
|
|
40
40
|
|
|
41
41
|
## How It Works
|
|
42
42
|
|
package/package.json
CHANGED