year-of-dragon

1.0.3 • Public • Published

year-of-dragon Build Status

Check if is year of Dragon

Install

$ npm install --save year-of-dragon

Usage

 
const yearOfDragon = require('year-of-dragon');
 
yearOfDragon(1988);
// true
 
yearOfDragon(1989);
// false
 
 

API

yearOfDragon([year])

year

Type: number
Default: current year

yearOfDragon([date])

date

Type: date
Default: new Date()

License

MIT © haotian Chang

Package Sidebar

Install

npm i year-of-dragon

Weekly Downloads

6

Version

1.0.3

License

MIT

Last publish

Collaborators

  • cht8687