year-of-snake
v1.0.3
Published
Check if is year of Snake
Downloads
2
Maintainers
Readme
year-of-snake
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