Socket
Socket
Sign inDemoInstall

holidays-cn

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

holidays-cn

Check if a day is a China public holiday or a workday


Version published
Weekly downloads
41
increased by412.5%
Maintainers
1
Weekly downloads
 
Created
Source

holidays-cn

Check if a day is a China public holiday or a workday.

npm version

English | 简体中文

Installation

npm install holidays-cn

Usage

import { isHoliday, isWorkday } from 'holidays-cn';

isHoliday('2020-02-01'); // true

isWorkday('2020-03-16'); // true

Keywords

FAQs

Package last updated on 21 Mar 2024

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc