taiwan-holiday
v1.0.7
Published
let me help you find out it's taiwan holiday or not.
Downloads
3
Readme
taiwan-holiday.js
let me help you find out it's taiwan holiday or not.
Use
// use project static data
const holiday = require('taiwan-holiday');
holiday.init()
.then(() => {
holiday.isHoliday('2018/1/1');
});
// useCustom temp dir
const holiday = require('taiwan-holiday');
holiday.init({temp_dir: './my-tmp'})
.then(() => {
holiday.isHoliday('2018/1/1');
});