npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

year-of-rooster

1.0.6 • Public • Published

year-of-rooster Build Status

Check if is year of Rooster

Install

$ npm install --save year-of-rooster

Usage

 
const yearOfRooster = require('year-of-rooster');
 
yearOfRooster(1993);
// true
 
yearOfRooster(1994);
// false
 
 

API

yearOfRooster([year])

year

Type: number
Default: current year

yearOfRooster([date])

date

Type: date
Default: new Date()

License

MIT © haotian Chang

install

npm i year-of-rooster

Downloadsweekly downloads

11

version

1.0.6

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability