year-of-snake

1.0.3 • Public • Published

year-of-snake Build Status

Check if is year of Snake

Install

$ npm install --save year-of-snake

Usage

 
const yearOfSnake = require('year-of-snake');
 
yearOfSnake(1988);
// true
 
yearOfSnake(1989);
// false
 
 

API

yearOfSnake([year])

year

Type: number
Default: current year

yearOfSnake([date])

date

Type: date
Default: new Date()

License

MIT © haotian Chang

Package Sidebar

Install

npm i year-of-snake

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • cht8687