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