colombian-holidays 5.0.2 → 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 -2
- package/package.json +1 -1
package/README.md
CHANGED
@@ -280,9 +280,10 @@ This function is equivalent to calling:
|
|
280
280
|
colombianHolidays({ year: 2025 });
|
281
281
|
```
|
282
282
|
|
283
|
-
But
|
283
|
+
But uses an in-memory cache.
|
284
284
|
|
285
|
-
|
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.
|
286
287
|
|
287
288
|
### isHoliday
|
288
289
|
|