1.0.1 • Published 3 years ago

year-of-luigi v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

year-of-luigi

Check if is year of Luigi

Install

$ npm install --save year-of-luigi

Caveat

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.

Usage

const yearOfLuigi = require('year-of-luigi');

yearOfLuigi(2013);
// "probably"

yearOfLuigi(2014);
// "maybe"

yearOfLuigi(2015);
// false

yearOfLuigi(new Date("2013-02-14"));
//true

API

yearOfLuigi(year)

Type: number (year) or Date

Default: new Date() (now)

License

MIT © haotian Chang

Luigification: MIT © Wyatt Carpenter

1.0.1

3 years ago

1.0.0

3 years ago