Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

leap_year_utils

CodeCov Deno Doc

Utilities for working with Leap Years.

Usage

Deno πŸš€

import { leapYearsInRange } from "https://deno.land/x/leap_year_utils/mod.ts";

leapYearsInRange({ min: 2000, max: 2020 }); //=> [ 2004, 2008, 2012, 2016, 2020]

Node.js 🐒

import { leapYearsInRange } from "leap-year-utils";

Browser πŸ•Έ

Eg. ESM β–Ά SkyPack / script tag β–Ά JSDelivr.

The API is the same on all this platforms.

Documentation

Is hosted on Deno Doc πŸ“„

Contributing

If you have an idea for a new utility make an issue or a pull request please!

Support

Open an Issue, I will check it a soon as possible πŸ‘€

If you want to hurry me up a bit send me a tweet πŸ˜†

Consider supporting me on Patreon if you like my work πŸš€

Don’t forget to start the repo ⭐

Licence

MIT License πŸ“„