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

@festivo-io/festivo-sdk

v0.2.1

Published

Official JavaScript/TypeScript SDK for Festivo Public Holidays API - Access 250+ countries' holiday data with UTC dates

Downloads

685

Readme

Festivo JavaScript/TypeScript SDK

npm version License TypeScript

Official JavaScript/TypeScript SDK for the Festivo Public Holidays API. Access holiday data for 250+ countries with accurate UTC dates, regional variations, and city-level holidays.

Features

  • 🌍 250+ Countries - Comprehensive holiday coverage worldwide
  • 📅 UTC Dates - Accurate timezone handling for global holidays
  • 🏙️ City & Regional - Support for local holidays (Pro/Builder plans)
  • 💪 TypeScript Native - Full type definitions included
  • Modern ESM - ES Modules with tree-shaking support
  • 🧪 Well Tested - Comprehensive test suite with Vitest

Installation

npm install @festivo-io/festivo-sdk

Usage

import { FestivoClient } from '@festivo-io/festivo-sdk';

// Initialize client
const client = new FestivoClient({ apiKey: process.env.FESTIVO_API_KEY });

// Get all holidays for a country
const { holidays } = await client.getHolidays('US', 2026);
console.log(`Found ${holidays.length} holidays`);

// Get city-level holidays (Pro plan)
const milan = await client.getCityHolidays('IT', 'IT-MILAN', 2026);
console.log(milan.holidays);

// Get regional holidays (Builder plan)
const scotland = await client.getRegionalHolidays('GB', 'GB-SCT', 2026);

// Check if a specific date is a holiday
const check = await client.checkHoliday('US', '2026-12-25');
if (check.is_holiday) {
  console.log(`${check.holiday.name} on ${check.holiday.observed}`);
}

API Methods

  • getHolidays(country, year, options?) - Get all holidays
  • getCityHolidays(country, cityCode, year, options?) - Get city-level holidays
  • getRegionalHolidays(country, regionCode, year, options?) - Get regional holidays
  • checkHoliday(country, date, options?) - Check if date is a holiday

Development

cd festivo-sdk/js
npm install
npm run build
npm test

Links

Support

License

MIT License - see LICENSE for details.