Naughty Program Manipulator
Have ideas to improve npm?Join in the discussion! »

year-of-tiger

1.0.5 • Public • Published

year-of-tiger Build Status

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

Install

npm i year-of-tiger

DownloadsWeekly Downloads

5

Version

1.0.5

License

MIT

Last publish

Collaborators

  • avatar