year-of-tiger
v1.0.5
Published
Check if is year of Tiger
Downloads
1
Maintainers
Readme
year-of-tiger
Check if is year of Tiger
Install
$ npm install --save year-of-tiger
Usage
const yearOfTiger = require('year-of-tiger');
yearOfTiger(1986);
// true
yearOfTiger(1987);
// false
API
yearOfTiger([year])
year
Type: number
Default: current year
yearOfTiger([date])
date
Type: date
Default: new Date()
License
MIT © haotian Chang