Check if is year of Snake
$ npm install --save year-of-snake
const yearOfSnake = require('year-of-snake');
yearOfSnake(1988);
// true
yearOfSnake(1989);
// false
Type: number
Default: current year
Type: date
Default: new Date()
MIT © haotian Chang