UNPKG

@kokr/date

Version:

Provides utilities for Korean dates. 날짜 관련 유틸리티를 제공합니다. 공휴일, 절기, 그리고 잡절 정보를 확인하고, 영업일 기준 날짜 계산을 지원합니다.

9 lines (8 loc) 252 B
import { RetrieveHolidays } from "./holiday.js"; export interface CacheOptions { ttl?: number; cacheKeyName?: string; } export declare function cache(fn: RetrieveHolidays, options?: CacheOptions): RetrieveHolidays & { clear: () => void; };