Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

holiday-butler

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

holiday-butler

Get dates of holidays for any year in any country.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source




Site | NPM Module | GitHub Repo

holiday-butler is the official npm module of Holiday Butler, a free app for getting the dates of holidays for any year in any country.

Holiday Butler Works in Node AND browser environments

Yes, this module works in both Node and browser environments, including compatibility with Webpack and Browserify!

Features

  • Get all holidays for any year
  • Works in any country

Getting an API key

You can use so much of holiday-butler for free, but if you want to do some advanced stuff, you'll need an API key. You can get one by signing up for a Holiday Butler account.

Install Holiday Butler

Use the API

fetch('https://cdn.jsdelivr.net/npm/holiday-butler@latest/dist/holiday/US/2050.json')
.then(res => {
  if (res.status >= 200 && res.status < 300) {
    res.json()
    .then(function (holidays) {
      console.log('Holidays', holidays)
    })
  }
})

Keywords

FAQs

Package last updated on 29 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc