Skip to content

Check if the year is year of sheep in Chinese Zodiac

Notifications You must be signed in to change notification settings

cht8687/year-of-sheep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

year-of-sheep Build Status

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

About

Check if the year is year of sheep in Chinese Zodiac

Resources

Stars

Watchers

Forks

Packages

No packages published