Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Install

npm i year-of-monkey

DownloadsWeekly Downloads

1

Version

1.0.5

License

MIT

Last publish

Collaborators

  • avatar