taiwan-holiday

1.0.7 • Public • Published

Coverage Status Build Status

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');
	});

Readme

Keywords

Package Sidebar

Install

npm i taiwan-holiday

Weekly Downloads

5

Version

1.0.7

License

MIT

Unpacked Size

6.32 kB

Total Files

11

Last publish

Collaborators

  • enskylin