year-of-sheep
v1.0.6
Published
Check if is year of Sheep
Downloads
21
Maintainers
Readme
year-of-sheep
Check if is year of Sheep
Install
$ npm install --save year-of-sheep
Usage
const yearOfSheep = require('year-of-sheep');
yearOfSheep(1991);
// true
yearOfSheep(1992);
// false
API
yearOfSheep([year])
year
Type: number
Default: current year
yearOfSheep([date])
date
Type: date
Default: new Date()
License
MIT © haotian Chang