Check if is year of Luigi
$ npm install --save year-of-luigi
The Year of Luigi is commonly said to have taken place between February 14, 2013 and March 18, 2014. The precise boundaries are a point of scholarly debate, however. But as of now this module considers any date object between those two dates inclusively (in the current working timezone) to be valid Year of Luigi.
const yearOfLuigi = require('year-of-luigi');
yearOfLuigi(2013);
// "probably"
yearOfLuigi(2014);
// "maybe"
yearOfLuigi(2015);
// false
yearOfLuigi(new Date("2013-02-14"));
//true
Type: number
(year) or Date
Default: new Date()
(now)
MIT © haotian Chang
Luigification: MIT © Wyatt Carpenter