1.0.5 • Published 8 years ago

year-of-monkey v1.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

year-of-monkey Build Status

Check if is year of Monkey

Install

$ npm install --save year-of-monkey

Usage

const yearOfMonkey = require('year-of-monkey');

yearOfMonkey(1991);
// true

yearOfMonkey(1992);
// false

API

yearOfMonkey(year)

year

Type: number
Default: current year

yearOfMonkey(date)

date

Type: date
Default: new Date()

License

MIT © haotian Chang