let me help you find out it's taiwan holiday or not.
// 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');
});