year-of-luigi

1.0.1 • Public • Published

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

/year-of-luigi/

    Package Sidebar

    Install

    npm i year-of-luigi

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.52 kB

    Total Files

    3

    Last publish

    Collaborators

    • wyattscarpenter