year-of-horse

1.0.4 • Public • Published

year-of-horse Build Status

Check if is year of Horse

Install

$ npm install --save year-of-horse

Usage

 
const yearOfHorse = require('year-of-horse');
 
yearOfHorse(1990);
// true
 
yearOfHorse(1991);
// false
 
 

API

yearOfHorse([year])

year

Type: number
Default: current year

yearOfHorse([date])

date

Type: date
Default: new Date()

License

MIT © haotian Chang

Package Sidebar

Install

npm i year-of-horse

Weekly Downloads

0

Version

1.0.4

License

MIT

Last publish

Collaborators

  • cht8687