1.0.2 • Published 2 years ago
is-leap v1.0.2
is-leap
A simple lightweight module to detect leap year.
Getting Started
npm install is-leap
or with yarn
yarn add is-leap
Usage
const isLeap = require("is-leap");
isLeap(2000); // true
isLeap(2022); // false