is-leap
v1.0.2
Published
A simple and lightweight module to detect leap year
Downloads
1
Readme
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