Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

taiwan-holiday

1.0.3 • Public • Published

Coverage Status Build Status

taiwan-holiday.js

let me help you find out it's taiwan holiday or not.

Use

const holiday = require('taiwan-holiday');

holiday.init()
    .then(() => {
        holiday.isHoliday(new Date('2018/1/1'));
    });

Custom temp dir

const holiday = require('taiwan-holiday');

holiday.init({temp_dir: './my-tmp'})
    .then(() => {
        holiday.isHoliday(new Date('2018/1/1'));
    });

Install

npm i taiwan-holiday

DownloadsWeekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • avatar