year-of-monkey

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i year-of-monkey

Weekly Downloads

2

Version

1.0.5

License

MIT

Last publish

Collaborators

  • cht8687