holidays-cn
v1.2.0
Published
Check if a day is a China public holiday or a workday
Downloads
156
Readme
holidays-cn
Check if a day is a China public holiday or a workday.
English | 简体中文
Installation
npm install holidays-cn
Usage
import { isHoliday, isWorkday } from 'holidays-cn';
isHoliday('2020-02-01'); // true
isWorkday('2020-03-16'); // true