npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@hyunbinseo/holidays-kr

v5.2027.2

Published

South Korea's national holidays, based on the official gazette

Readme

대한민국의 공휴일

우주항공청에서 발표한 월력요항을 사용해 Date 객체 또는 YYYY-MM-DD 날짜 문자열의 공휴일 여부와 그 명칭들을 확인합니다.

CSV, JSON, ICS 파일(호스팅) 및 구독할 수 있는 캘린더 URL도 제공됩니다. 안내

설치법

메이저 버전 업그레이드 시 업그레이드 안내를 참고합니다.

패키지 매니저로 설치합니다.

pnpm i @hyunbinseo/holidays-kr

또는 CDN에서 불러와 사용합니다.

<script type="module">
	import { isHoliday } from 'https://esm.sh/@hyunbinseo/holidays-kr@5';

	await isHoliday('2026-01-01'); // true
</script>

CDN에서 불러올 경우 메이저 버전을 명시해야 합니다.

https://cdn.jsdelivr.net/npm/@hyunbinseo/holidays-kr@5/+esm
https://esm.sh/@hyunbinseo/holidays-kr@5
https://unpkg.com/@hyunbinseo/holidays-kr@5?module

사용법

API는 연도별 공휴일 정보를 동적으로 불러오며, 데이터가 존재하지 않으면 RangeError를 던집니다.

import { getHolidayNames, isHoliday } from '@hyunbinseo/holidays-kr';

// 공휴일 여부
await isHoliday(new Date('2026-01-02T00:00:00+0900')); // false
await isHoliday(new Date('2026-01-01T00:00:00+0900')); // true
await isHoliday('2026-01-01'); // true

// 공휴일 명칭(들)
await getHolidayNames(new Date('2026-05-04T00:00:00+0900')); // null
await getHolidayNames(new Date('2026-05-05T00:00:00+0900')); // ['어린이날']
await getHolidayNames('2026-05-05'); // ['어린이날']
import { getHolidayPreset } from '@hyunbinseo/holidays-kr';

const y2026 = await getHolidayPreset('2026');
'2026-01-01' in y2026; // true
'2026-01-02' in y2026; // false
// y2026의 형태:
{
	"2026-01-01": ["1월 1일"],
	// ...
	"2026-12-25": ["기독탄신일"],
}