is-leap
v1.0.2
Published
A simple and lightweight module to detect leap year
Readme
is-leap
A simple lightweight module to detect leap year.
Getting Started
npm install is-leapor with yarn
yarn add is-leapUsage
const isLeap = require("is-leap");
isLeap(2000); // true
isLeap(2022); // false