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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.5
    3
  • 1.0.0
    0

Package Sidebar

Install

npm i year-of-monkey

Weekly Downloads

3

Version

1.0.5

License

MIT

Last publish

Collaborators

  • cht8687