colombian-holidays 5.0.1 → 5.0.3
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# Colombian Holidays 🎆
|
2
2
|
|
3
3
|
[](https://badge.fury.io/js/colombian-holidays)
|
4
|
-
[](https://github.com/MauricioRobayo/colombian-holidays/actions/workflows/build-and-release.yml)
|
5
4
|
[](https://codecov.io/gh/MauricioRobayo/colombian-holidays)
|
6
5
|
[](https://www.codefactor.io/repository/github/mauriciorobayo/colombian-holidays)
|
7
6
|
[](git@github.com:MauricioRobayo/colombian-holidays.git)
|
@@ -281,9 +280,10 @@ This function is equivalent to calling:
|
|
281
280
|
colombianHolidays({ year: 2025 });
|
282
281
|
```
|
283
282
|
|
284
|
-
But
|
283
|
+
But uses an in-memory cache.
|
285
284
|
|
286
|
-
|
285
|
+
> [!TIP]
|
286
|
+
> Use `getHolidaysByYear` instead of `colombianHolidays` when possible. It includes built-in caching, which improves performance and avoids redundant computations when accessing holidays by year. It is used under the hood by all other helpers, providing a shared in-memory cache.
|
287
287
|
|
288
288
|
### isHoliday
|
289
289
|
|