This package has been deprecated

Author message:

WARNING: This project has been renamed to @ultirequiem/leap-year. Install using @ultirequiem/leap-year instead.

check-leap-year
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

isLeapYear

XO code style

This package was done for UltiRequiem/leap-year-api.

Install

npm install check-leap-year

Or use a CDN service:

Usage

You can see examples of use in test.js

import isLeapYear from "check-leap-year";

console.log(isLeapYear());
console.log(isLeapYear(2024));
console.log(isLeapYear(new Date()));
console.log(isLeapYear(new Date("12-10-2024")));
console.log(isLeapYear("12-10-2024"));

Licence

Released under the MIT Licence.

Dependents (0)

Package Sidebar

Install

npm i check-leap-year

Weekly Downloads

5

Version

1.3.3

License

MIT

Unpacked Size

6.05 kB

Total Files

7

Last publish

Collaborators

  • ultirequiem